-
Install Docker For Mac if you haven't already
-
Start the Docker For Mac App
-
Open a Terminal window - (iTerm2 is nicer than Mac's built in one)
-
Login to Docker Hub if you haven't already. You'll need to create an account on their website if you don't already have one.
docker login
-
Add an entry to your
/etc/hosts
file if you haven't already:127.0.0.1 docker.local
Last active
October 14, 2020 09:24
-
-
Save jsonfry/2b9a930905d8b7b83613 to your computer and use it in GitHub Desktop.
Docker Help
docker ps
docker ps -a
docker stop $(docker ps -a -q)
docker images | awk '/^REPOSITORY|\<none\>/ {next} {print $1}' | xargs -n 1 docker pull
docker ps -a -q | xargs -n 1 -I {} docker rm {}
docker image prune
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment