Try `exec` instead of `run`. `run` runs the command in a new container, so
each time you perform `docker-compose run web `, a new copy of the
container is created. See the documentation:
https://docs.docker.com/compose/reference/run/
On Wednesday, 10 April 2019 11:56:53 UTC+2, Shubham Joshi
I am trying to upgrade pip version in docker
snj@snj-ThinkPad-T440p:~/school$ sudo docker-compose run web pip install
--upgrade pip
Starting school_db_1 ... done
Collecting pip
Downloading
2 matches
Mail list logo