Last active
September 12, 2019 15:44
-
-
Save roostercrab/70d6ff5d277cd443bbc9a49a257f7161 to your computer and use it in GitHub Desktop.
Docker Notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose run app sh -c "python manage.py test && flake8" | |
docker-compose run app sh -c "python manage.py test" | |
docker-compose build | |
docker-compose run app sh -c "python manage.py makemigrations" | |
sudo service docker restart | |
docker run -d -p 9000:9000 -p 8000:8000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer --admin-password='$2y$05$qFHAlNAH0A.645je1/4W.ueCWdfWE$HXIHBI97QYfMWlMCJ7N.a6' | |
sudo docker run -d -p 9000:9000 -p 8000:8000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer --no-auth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment