Thanks for your advice, I have eposed the 22 port inside the container to 2222 port outside the container. However when I try to ssh roo@(The ip address got using ifconfig inside the container) -p 2222, I just got a “Resource temporarily unavailable” error. I can ssh to other machine from the container, however. Is NAT rules needed? I’m not famillar with it, but I will give it a try.