Sign inSign up

unidata/docker-ubuntu1604-systemd

Sponsored OSS

By NSF Unidata

•Updated over 8 years ago

Ubuntu 16.04 LTS (Xenial) Docker container that uses SystemD for initialization.

Image
0

9.1K

unidata/docker-ubuntu1604-systemd repository overview

⁠Ubuntu 16.04 LTS (Xenial) SystemD Test Image

Docker Automated build

Ubuntu 16.04 LTS (Xenial) Docker container that uses SystemD for initialization. It also includes Python 2.7 and pip, which allows for easy installation of Ansible later.

⁠How to Build

This image is built on Docker Hub automatically any time the upstream OS container is rebuilt, and any time a commit is made or merged to the master branch. But if you need to build the image on your own locally, do the following:

  1. Install Docker⁠.
  2. cd into this directory.
  3. Run docker build -t ubuntu1604-systemd .

⁠How to Use

  1. Install Docker⁠.
  2. Pull this image from Docker Hub: docker pull cwardgar/docker-ubuntu1604-systemd:latest (or use the tag you built earlier, e.g. ubuntu1604-systemd).
  3. Run a container from the image: docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro cwardgar/docker-ubuntu1604-systemd:latest /lib/systemd/systemd.
  4. "Login" to the container: docker exec -it [container_id] bash

⁠Notes

I use this image to test nexus-IaC⁠, particularly the Ansible playbooks. I do not bake Ansible into the image, which will make it easier to change Ansible versions later (i.e. I won't have to modify this project's Dockerfile). That is the only major difference between this project and docker-ubuntu1604-ansible⁠.

⁠Author

Created in 2016 by Jeff Geerling⁠, author of Ansible for DevOps⁠.

Modified in 2018 by Christian Ward-Garrison.

Tag summary

Content type

Image

Digest

Size

78.1 MB

Last updated

over 8 years ago

docker pull unidata/docker-ubuntu1604-systemd

This week's pulls

Pulls:

12

Sep 21 to Sep 27