As the title said. Docker-Compose is very slow while running a container. It keeps saying it’s trying to attach to… when i run “docker-compose up”. It takes about 10 minutes before the python script is running. On the other hand.. If I start “docker-compose run docker-build” the python script runs in a second. If i use “docker run –rm -it
Tag: dockerfile
Ubuntu dockerfile – mailutils install
I am installing mailutils via a dockerfile on an ubuntu image. I do this via: RUN apt-get install -y mailutils However, on this line I get the following: When I do exactly the same thing with a Debian image I do not get this option. I use the -y prefix to handle all the yes/no installation questions when using a
Explanation of this docker file?
I am trying to understand this docker file I understood most of the lines but I don’t understand what these below lines means? Can anyone help me understand? I am not sure what is the purpose of wget supervisor docker.io openssh-server in that line. Also what does echo mean there? And then also last sed line. Answer Installs a bunch
How can one influence the order of RUN commands in a Dockerfile?
I’m writing a Dockerfile where the root user creates a user named blog to manage website deployment. I’m using the Docker Hub wordpress container as a base. The root user creates folders under /var/www/html and gives the blog user permissions to write underneath. In the next set of RUN commands following USER blog, these commands do not acknowledge the previous
Could not install mysql-server inside docker container
I want to configure a container with MySQL, thereafter I will add a java application to the container. But, I could not install MySQL-server inside the container. here is my dockerfile: I got the following error: Errors were encountered while processing: /var/cache/apt/archives/mysql-server-5.5_5.5.44-0ubuntu0.14.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 2015/09/01 13:17:36 The command [/bin/sh -c apt-get -y install mysql-server