In order to call docker docker container

Host container are CentOS7.6.1810

docker run -it --name centos \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /usr/bin/docker:/usr/bin/docker \
    -v /usr/lib64/libltdl.so.7:/usr/lib64/libltdl.so.7 \
    CentOS: 7.6 . 1810

 

Guess you like

Origin www.cnblogs.com/nihaorz/p/12021700.html