Skip to content

Instantly share code, notes, and snippets.

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 ashleyconnor/ebc86c2c21211ceb5763c2bff97ebce6 to your computer and use it in GitHub Desktop.
Save ashleyconnor/ebc86c2c21211ceb5763c2bff97ebce6 to your computer and use it in GitHub Desktop.
$ docker run --name my-redis -d redis
$ docker run -it --pid=container:my-redis \
--net=container:my-redis \
--cap-add sys_admin \
alpine sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment