diff options
-rwxr-xr-x | nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh index a3c6372e..93584e51 100755 --- a/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh +++ b/nokia/vnfmdriver/vfcadaptorservice/docker/instance-init.sh @@ -17,6 +17,9 @@ # Config mysql credentials function start_mysql { + sudo docker run --privileged -i -t -p 10080:80 centos /usr/sbin/init + sudo docker run --privileged -ti -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup centos /usr/sbin/init + echo "start mysql in instance_init ... " systemctl start mysql.service > myout_instance_init.file 2>&1 cat myout_instance_init.file |