I'm sure the answer is here somewhere, but I can't find it.
Is there a simple way to SSH into a Docker container managed but OMV Compose like there was in Portainer? i.e. connect to the console of the container.
Many thanks
I'm sure the answer is here somewhere, but I can't find it.
Is there a simple way to SSH into a Docker container managed but OMV Compose like there was in Portainer? i.e. connect to the console of the container.
Many thanks
I have found this works. First, SSH into OMV, then use:
docker exec -it containername /bin/bash
I have found this works. First, SSH into OMV, then use:
docker exec -it containername /bin/bash
Not quite as neat as Portainer, but it does exactly what I need. Thank you so much for your quick reply.
Not quite as neat as Portainer, but it does exactly what I need. Thank you so much for your quick reply.
Only works if bash is included in the container build. Most do, but not all.
Only works if bash is included in the container build. Most do, but not all.
Thank you, I'll watch out for that. I needed it for Nextcloud to turn off maintenance mode and it seems to work.
Don’t have an account yet? Register yourself now and be a part of our community!