0

Docker container is a user space process(with pid) running in Docker host, but in separate process namespace(non-default), as shown below:

$ docker ps -a
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                               NAMES
67a08bc4e251        docker-jenkins_jenkins   "/sbin/tini -- /usr/…"   4 hours ago         Up 23 seconds       0.0.0.0:8080->8080/tcp, 50000/tcp   docker-jenkins_jenkins_1
$ 
$ 
$ docker container top 67a08bc4e251
UID             PID                 PPID                C                   STIME               TTY                 TIME                CMD
user            5849                5826                0                   16:20               ?                   00:00:00            /sbin/tini -- /usr/local/bin/jenkins.sh
user            5930                5849                71                  16:20               ?                   00:00:51            java -Duser.home=/var/jenkins_home -Djenkins.model.Jenkins.slaveAgentPort=50000 -jar /usr/share/jenkins/jenkins.war

In the below syntax:

"EcsTaskDefinition": {
            "Type": "AWS::ECS::TaskDefinition",
            "Properties": {
                "ContainerDefinitions": [
                    {
                        "Name": "jenkins",
                        "Image": "someaccount/jenkins:ecs",
                        "Memory": 500,
                        "PortMappings": [ { "ContainerPort": 8080, "HostPort": 8080 } ],
                        "MountPoints": [
                            {
                                "SourceVolume": "docker",
                                "ContainerPath": "/var/run/docker.sock"
                            },
                            {
                                "SourceVolume": "jenkins_home",
                                "ContainerPath": "/var/jenkins_home"
                            }
                        ]
                    }

"Memory":500 MB space is allocated for docker container process.

A process virtual address space size is 4 GB on 32 bit OS.

1)

Is 500 MB, a virtual address space size of docker container process? on docker host

or

2)

Is 500 MB, a physical address space size of docker container process? on docker host

and

3)

How to configure core dump path, on process(docker container) crash?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.