Skip to content

Instantly share code, notes, and snippets.

@smaglio81
Created October 16, 2016 17:32
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 smaglio81/1f949c314572332e16d525764ff23b35 to your computer and use it in GitHub Desktop.
Save smaglio81/1f949c314572332e16d525764ff23b35 to your computer and use it in GitHub Desktop.
powershell commands to recreate tyk docker environment
docker stop $(docker ps -a -q) # stops all running containers in docker
docker rm $(docker ps -a -q) # removes all containers in docker (I wanted to start clean each time)
docker-compose up -d # recreates the environment (this is usually where errors happen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment