Quickstart: Compose and DjangoでDockerで起動まではうまくて行ったのですが、挙動がおかしいので何を確認すればいいのか教えていただけますか。
bash
1 2$Task sudo docker-compose run web python -m pip list 3Starting task_db_1 ... done 4DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. 5Django (2.0.3) 6pip (9.0.1) 7psycopg2 (2.7.4) 8pytz (2018.3) 9setuptools (38.5.1) 10wheel (0.30.0) 11You are using pip version 9.0.1, however version 9.0.2 is available. 12You should consider upgrading via the 'pip install --upgrade pip' command. 13# pip が古いようなので更新したのですが 14$Task sudo docker-compose run web python3 -m pip install -U pip 15Starting task_db_1 ... done 16Collecting pip 17 Downloading pip-9.0.2-py2.py3-none-any.whl (1.4MB) 18 100% |████████████████████████████████| 1.4MB 951kB/s 19Installing collected packages: pip 20 Found existing installation: pip 9.0.1 21 Uninstalling pip-9.0.1: 22 Successfully uninstalled pip-9.0.1 23Successfully installed pip-9.0.2 24 25# 成功後も結果は変わらず 26Task sudo docker-compose run web python3 -m pip list 27Starting task_db_1 ... done 28DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. 29Django (2.0.3) 30pip (9.0.1) 31psycopg2 (2.7.4) 32pytz (2018.3) 33setuptools (38.5.1) 34wheel (0.30.0) 35You are using pip version 9.0.1, however version 9.0.2 is available. 36You should consider upgrading via the 'pip install --upgrade pip' command. 37
Docker
1FROM python:3 2ENV PYTHONUNBUFFERED 1 3RUN mkdir /code 4WORKDIR /code 5ADD requirements.txt /code/ 6RUN pip install -r requirements.txt 7ADD . /code/
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/03/19 08:23