Re: upgrading the pip version in dockerized django container

2019-04-10 Thread nm
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 wr

upgrading the pip version in dockerized django container

2019-04-10 Thread 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 https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dce