Last active
August 18, 2019 11:42
-
-
Save harunurkst/111ac82bad9c7dfc837b3f5121695bf6 to your computer and use it in GitHub Desktop.
important commands
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
# run bash in docker image | |
# docker run -it <image-name> bash | |
# if entrypoint defined | |
docker run -it --entrypoint bash jifcastback_djangoapp | |
# create superuser in docer container django app | |
sudo docker-compose run --entrypoint="python manage.py createsuperuser" djangoapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment