Docker ulimit and ServerName errors

+1 vote
I am receiving this error when starting a docker file.     Any ideas on how to resolve?

/usr/sbin/apachectl: 99: ulimit: error setting limit (Operation not permitted)
Setting ulimit failed. See README.Debian for more information.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
Jan 28 in Docker by Charles
• 220 points
69 views

1 answer to this question.

+2 votes
I have resolved the issue.  The resolution was to use RUN and not CMD, in the dockerfile, to update the /etc/apache2/apache.conf file with the following line.

"ServerName localhost"
answered Jan 28 by Charles
• 220 points
Hi! Can you share your dockerfile?

Related Questions In Docker

0 votes
1 answer

Different file owner inside Docker container and in host machine Ask

Filesystems, at least in Unix- and Linux-like ...READ MORE

answered Jun 25, 2018 in Docker by Damon Salvatore
• 5,520 points
113 views
0 votes
1 answer

Different file owner inside Docker container and in host machine

Here is what you can try. Since ...READ MORE

answered Jun 27, 2018 in Docker by Atul
• 10,250 points
406 views
0 votes
1 answer

What is the difference between “expose” and “publish” in Docker?

Basically, you have three options: Neither specify EXPOSE nor -p -> ...READ MORE

answered Jul 18, 2018 in Docker by Nilesh
• 6,960 points
657 views
0 votes
1 answer

Ubuntu and updating Docker

Try this sudo sh -c "wget -qO- https://get.docker.io/gpg ...READ MORE

answered Aug 1, 2018 in Docker by Kalgi
• 51,810 points
52 views
+1 vote
1 answer

How to expose docker container's ip and port to outside docker host without port mapping?

you can accomplish this with IP aliasing ...READ MORE

answered Aug 2, 2018 in Docker by Kalgi
• 51,810 points

edited Jan 16 by Kalgi 5,480 views
0 votes
1 answer

Docker Swarm and self-signed Docker Registry

Add your self signed cert to the ...READ MORE

answered Aug 22, 2018 in Docker by Nilesh
• 6,960 points
103 views
0 votes
2 answers

What is the difference between a Docker image and a container?

Here is very basic explanation for image ...READ MORE

answered Sep 4, 2018 in Docker by Damon Salvatore
• 5,520 points
1,494 views
0 votes
1 answer
0 votes
1 answer