github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/runconfig/fixtures/unix/container_config_1_17.json (about) 1 { 2 "Hostname": "", 3 "Domainname": "", 4 "User": "", 5 "Memory": 1000, 6 "MemorySwap": 0, 7 "CpuShares": 512, 8 "Cpuset": "0,1", 9 "AttachStdin": false, 10 "AttachStdout": true, 11 "AttachStderr": true, 12 "Tty": false, 13 "OpenStdin": false, 14 "StdinOnce": false, 15 "Env": null, 16 "Cmd": [ 17 "date" 18 ], 19 "Entrypoint": "bash", 20 "Image": "ubuntu", 21 "Volumes": { 22 "/tmp": {} 23 }, 24 "WorkingDir": "", 25 "NetworkDisabled": false, 26 "MacAddress": "12:34:56:78:9a:bc", 27 "ExposedPorts": { 28 "22/tcp": {} 29 }, 30 "SecurityOpt": [""], 31 "HostConfig": { 32 "Binds": ["/tmp:/tmp"], 33 "Links": ["redis3:redis"], 34 "LxcConf": {"lxc.utsname":"docker"}, 35 "PortBindings": { "22/tcp": [{ "HostPort": "11022" }] }, 36 "PublishAllPorts": false, 37 "Privileged": false, 38 "ReadonlyRootfs": false, 39 "Dns": ["8.8.8.8"], 40 "DnsSearch": [""], 41 "DnsOptions": [""], 42 "ExtraHosts": null, 43 "VolumesFrom": ["parent", "other:ro"], 44 "CapAdd": ["NET_ADMIN"], 45 "CapDrop": ["MKNOD"], 46 "RestartPolicy": { "Name": "", "MaximumRetryCount": 0 }, 47 "NetworkMode": "bridge", 48 "Devices": [] 49 } 50 }