Skip to content

Instantly share code, notes, and snippets.

@bannsec
Created November 27, 2021 02:47
Show Gist options
  • 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