I am learning Docker and have taken my first steps.
My goal is to put a web app (Pyhthon + Mariadb) that I have developed locally on my laptop online (docker container @ Synology NAS).
On my laptop I have Docker-desktop running and on my NAS the Docker-app is running with a few containers. I have a question about the latter.
One of the containers I’m running is instantiated from the official Ubuntu image. I can also work with it via the terminal in the Docker-app - so far so good.
But I want to ssh to it from my laptop to work with it and that doesn’t work. I have installed ssh, but there are no ports available to connect to. I think I’m doing something wrong when creating/starting the container (associating container ports with local ports?). I’ve been working on it two days now and I’m stuck, so I need some help here …
This is my first post in this forum and I hope I have followed the forum rules in this way