Skip to content
Advertisement

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

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

Advertisement