随笔-开发环境-创建一个python开发环境(docker)
docker-compose.yml
version: "3"
services:
python-dev-env:
image: python:3.6.15-slim-buster
restart: always
container_name: py3-dev-env
network_mode: host
volumes:
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime
- "/data/products:/root/products"
privileged: true
tty: true
本文来自博客园,作者:LiYanbin,转载请注明原文链接:https://www.cnblogs.com/stellar-liyanbin/p/17922862.html