Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

容器互联

docker run -itd --name=small_nginx --link container_name:alias -v path:local_path image_name
  • --link 表示:被挂载容器名:别名
docker run -itd --name=flask_t -p 81:80 --link flask_mysql:flask_mysql -v /root/small/mysql/:/var/lib/mysql flask:1.2