-
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
-
-
Save g0ld3lux/caed31e0f5869d1d7514ac40e0f18cb6 to your computer and use it in GitHub Desktop.
Docker Help
docker ps
docker ps -a
docker-compose stop
docker images | awk '/^REPOSITORY|\<none\>/ {next} {print $1}' | xargs -n 1 docker pull
docker ps -a -q | xargs -n 1 -I {} docker rm {}
docker rmi $( docker images | grep '<none>' | tr -s ' ' | cut -d ' ' -f 3)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment