docker启动ubuntu,并映射端口

sudo docker run -itd --name ubuntu-mips -v /home/incar/projects:/home/incar/projects -p 9022:22 82af5fb43471 /bin/bash

 

docker exec -it ubuntu-test /bin/bash

posted @ 2024-02-06 10:21  流逝的轻风  阅读(51)  评论(0编辑  收藏  举报