Skip to content

Instantly share code, notes, and snippets.

@bannsec
Created November 27, 2021 02:47
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 bannsec/1ace03d6a229c0522efd95d171bb02c5 to your computer and use it in GitHub Desktop.
Save bannsec/1ace03d6a229c0522efd95d171bb02c5 to your computer and use it in GitHub Desktop.
Change shm size of existing docker container
# https://github.com/docker/cli/issues/1278
Stop docker daemon (with your container)
Modify hostconfig.json as you want
Now you can start docker daemon and your container with updated ShmSize.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment