how to ssh docker container

前端 未结 8 1618
抹茶落季
抹茶落季 2021-02-02 06:34

I am running the container hypriot/rpi-busybox-httpd

I am trying to ssh to docker container: but it is giving error :

pi@raspberrypi:~ $         


        
8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-02 06:59

    Try Below Command:

    docker exec -it cc55da85b915 /bin/busybox sh
    

    To list all the available commands use:

    docker exec -it cc55da85b915 /bin/busybox --list
    

提交回复
热议问题