chriscrowe / docker-pihole-unbound

Run Pi-Hole + Unbound on Docker
1.05k stars 274 forks source link

EXPOSE tcp 22 #155

Open netsolv opened 2 years ago

netsolv commented 2 years ago

Complete noob question: What is the best way to utilize the "latest" build and expose/use tcp port 22 for ssh to the image?

pluim003 commented 1 year ago

@netsolv Well, than the ssh-daemon would be required and that is not present in the image, so AFAIK and can see this is not possible. Are you using Portainer? If so, than you can easily logon to the container through the console. And otherwise by issueing the command 'docker -it sh' on the host where your container is running.