docker Mule-server curl: (56) Recv failure: Connection reset by peer

This might just be my rookie knowledge of Docker, but I can’t get the networking to work. I’m trying to run a Mule-server via the pr3d4t0r/mule repository. I can run it, hot-swap applications but I can reach it. I can run a local server without Docker, and it works flawlessly. But not when I try […]

How to edit a file dynamically in a running docker container

Background I had build a npm server(sinopia) docker image(, and in the CMD line, it will run the every time when the container is generated. CMD [“/opt/sinopia/”] This shell will create a yaml file dynamically. sed -e ‘s/\#listen\: localhost/listen\:’ -e ‘s/allow_publish\: admin/allow_publish\: all/’ /tmp/config.yaml > /opt/sinopia/config.yaml Question I wish I could edit this […]

How to run a Docker host inside a Docker container?

I have a Jenkins container running inside Docker and I want to use this Jenkins container to spin up other Docker containers when running integration tests etc. So my plan was to install Docker in the container but this doesn’t seem to work so well for me. My Dockerfile looks something like this: FROM jenkins […]

How to fix ctrl+c inside a docker container

If I connect to a docker container $> docker exec -it my_container zsh and inside it I want to kill something I started with ctrl+c I noticed that it takes forever to complete. I’ve googled around and it seems that ctrl+c works a bit different than you would expect. My question, how can I fix […]

docker push error “denied: requested access to the resource is denied”

This error occurs when trying to push an image to the public repository on Docker Hub. There have been no issues with other registries I have tried. I have looked at numerous sites, blogs including StackOverflow and there is still no clear answer. You can try to replicate this issue as follows. As shown in […]

Docker: One image per user? Or one image for all users?

Question about Docker best practices/intended use: I have docker working, and it’s cool. I run a PaaS company, and my intent is maybe to use docker to run individual instances of our service for a given user. So now I have an image that I’ve created that contains all the stuff for our service… and […]

docker + apt-add-repository: 'ascii' codec can't decode byte

After starting a fresh docker Ubuntu environment, docker run -ti ubuntu:17.04 I’m trying to add a PPA via apt-get update apt-get install -y software-properties-common apt-add-repository -y ppa:nschloe/vtk7-nightly However, this fails with gpg: key ECD154D280FEB8AC: public key “Launchpad PPA for Nico Schl´┐Żmer” imported gpg: Total number processed: 1 gpg: imported: 1 ‘ascii’ codec can’t decode byte […]

Docker Compose Mount Window Folder

I am using docker toolbox in Windows and trying to mount a windows folder in a docker-compose.yml file like this: nginx: image: nginx:latest container_name: test_server ports: – “80:80” volumes: – /sss:/c/data/www:ro environment: – VIRTUAL_HOST=test.local My objective is to Mount C:\data\www to boot2docker VM image which is already created by docker toolbox and then from there […]

Ahow to use multiple terminals in the docker container?

I know it is weird to use multiple terminals in the docker container. My purpose is to test some commands and build a dockerfile with these commands finally. So I need to use multiple terminals, say, two. One is running some commands, the other is used to test that commands. If I use a real […]

Docker flask cant connect

I am trying to do I have copied the tutorial verbatim, except I changed From flask import Flask to from flask import Flask I can built it just fine. I can start it and get the following when I run docker ps from the command line CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.