I am tyring to create a mongodb container with following command: docker run -dit –rm -p 27017:27017 –name mongo-docker mongo:latest I am getting this error when I’m running the command: docker: (Image hash)Error response from daemon: driver failed programming external connectivity on endpoint mongo-docker: Error starting userland proxy: listen tcp4 0.0.0.0:27017: bind: address already in ..
I am trying to figure out the networking in Kubernetes, and especially the handling of multicontainer pods. In my simple scenario, I have 2 pods. One has two containers in it and the other one has only one container which wants to communicate with a specific container in that multicontainer pod. I want to figure ..
I have a server code written in golang that listen to http and connecting to mongodb at localhost:27017 at my development machine and on aws ec-2 instance also the same host. All is working well when I run it via go run main.go. sudo docker build -t server /mnt/c/code/tttfm/backend/server returns => [internal] load build definition ..
Probably some rather noob questions but I have searched around but haven’t been able to figure out the best way to handle self-signed certs (from an opsec perspective) to encrypt communication between dockerized services on my Debian server like Redis, Authelia, Portainer, etc.? The certificates are created and signed and all the containers in question ..
I am trying to build a container with the yaml package in it. However when I try to import the package I have the following error: >>> import yaml Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named ‘yaml’ When I (re)build the Dockerfile I have the following message: ..
How can I list docker containers by application? For example, assume that I have app1 (that has c1, c2, c3) and app2 (that has c4, c5) deployed. I can see c1, c2 and c3 are under app1 and c4 and c5 are under app2 using docker dashboard. But, if I do "docker ps", it returns ..
Related to this but not an (exactly) similar question, how do you run Docker on Windows but the "actual" Docker runs on a different machine. So it’s like, you have a Windows 10 guest VM machine as a development environment with Docker on it, but since it’s a guest VM and nested virtualization is still ..
I have an application which I am thinking of dockerizing (SAP Cloud Connector – Java). Unfortunately this application does not have a single configuration file, but relies on multiple files and keystores, etc. Storing the state of such applications in general in no problem at all -> just use a volume, but how do I ..
I would like to know whether it’s possible to provide credentials for the remote registry for Docker commands like docker pull … <image> or docker run … <image> without first using docker login? The reason is that I’d like to supply the credentials (inline) like in HTTP Basic Auth, so that I don’t have to ..
I have the following setup : 3 docker containers which two of them communicate with each other (I can see through my host that they are using a specific port for communication) I want to sniff their packets through the third container knowing that I am root on this third container and I can ping ..