Skip to content

Instantly share code, notes, and snippets.

@dlsniper
Created June 18, 2017 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlsniper/d9f20e942f96b9fca4d375a403862297 to your computer and use it in GitHub Desktop.
Save dlsniper/d9f20e942f96b9fca4d375a403862297 to your computer and use it in GitHub Desktop.
Gogland container settings
{
"_comment": "FOR DETAILED FORMAT LOOK AT https://docs.docker.com/engine/api/v1.22/#create-a-container",
"AttachStdin": true,
"OpenStdin": true,
"HostConfig": {
"PortBindings":{
"8000/tcp": [{ "HostIp": "0.0.0.0", "HostPort": "8000" }],
"40000/tcp": [{ "HostIp": "0.0.0.0", "HostPort": "40000" }]
},
"SecurityOpt": ["apparmor=unconfined"],
"CapAdd": ["SYS_PTRACE"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment