Docker images that runs systemd
with a minimal set of services.
Development use only. Do not use in production!
docker-systemd:ubuntu-20.04
docker-systemd:ubuntu-22.04
docker-systemd:ubuntu-24.04
To run the Docker images with systemd
, use the following command:
docker run --privileged --volume /sys/fs/cgroup:/sys/fs/cgroup:ro -d <image_name>
Replace <image_name>
with the appropriate image tag (e.g., docker-systemd:ubuntu-20.04
).
docker run --privileged --volume /sys/fs/cgroup:/sys/fs/cgroup:ro -d docker-systemd:ubuntu-20.04
docker run --privileged --volume /sys/fs/cgroup:/sys/fs/cgroup:ro -d docker-systemd:ubuntu-22.04
docker run --privileged --volume /sys/fs/cgroup:/sys/fs/cgroup:ro -d docker-systemd:ubuntu-24.04
We welcome contributions to this repository. Please follow the guidelines below:
- Read and follow the Contributor Covenant Code of Conduct.
- Review the CODEOWNERS file to understand the code ownership and review process.
- Fork the repository and create a new branch for your feature or bugfix.
- Submit a pull request with a clear description of your changes.
See LICENSE for full details.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
Authors: