Secured version of Ubuntu 14.04 LTS with working cron daemon, own syslog, backup etc.
50K+
##What are the problems with the stock Ubuntu base image?
Ubuntu is not designed to be run inside docker. Its init system, Upstart, assumes that it's running on either real hardware or virtualized hardware, but not inside a Docker container. But inside a container you don't want a full system anyway, you want a minimal system. But configuring that minimal system for use within a container has many strange corner cases that are hard to get right if you are not intimately familiar with the Unix system model. This can cause a lot of strange problems.
This version gets everything right. The “Contents” section describes all the things that it modifies.
##Using this version of Ubuntu
###Testing
To look around in the image, run:
docker run -t -i secure/ubuntu /sbin/my_init -- bash -l
You don't have to download anything manually. The above command will automatically pull the secure/ubuntu image from the Docker registry.
###Production use
The image is called secure/ubuntu, and is available on the Docker registry. Therefore you can just use this Dockerfile template to create your own images:
FROM secure/ubuntu
# Use secure/ubuntu's init system.
CMD ["/sbin/my_init"]
# ...put your own build instructions here...
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
##Contents
This Ubuntu version only contains essential components. Learn more about the rationale.
It is partially based on Phusion Baseimage.
Content type
Image
Digest
sha256:c1e97e087…
Size
-
Last updated
over 11 years ago
docker pull secure/ubuntu