runlike && dockerfile

pip

pip install runlike

by docker

alias runlike="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike"

runlike -p $容器id


alias export docker image to dockerfile

alias whaler="docker run -t --rm -v /var/run/docker.sock:/var/run/docker.sock:ro pegleg/whaler"

whaler pegleg/whaler

posted @ 2021-09-22 18:53  ainimore  阅读(63)  评论(0编辑  收藏  举报