From 815be856ac98f067364dfff9aa9806831ea4ccc8 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Mon, 20 Dec 2021 12:02:54 +0800 Subject: [PATCH] Update README.md --- scripts/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/README.md b/scripts/README.md index 2eb986ff..1e3a3a02 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -39,7 +39,7 @@ art 2.0 99f4472fd521 37 minutes ago 1.27GB ## Excute -### Excute roles +### Get project from volumes ``` @@ -61,3 +61,13 @@ Please choose the number for MySQL version [ 1/2/3/4...] [3]: ``` + +### Get project and edit in Container + +``` +docker run -d --name art -v /root/role_mysql:/ansible/role_mysql art:2.0 + +[root@VM-74-236-centos ~]# docker ps +CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES +f8ec36905530 art:2.0 "/usr/sbin/init" 9 minutes ago Up 9 minutes art +```