Closed ahmedrafeq closed 3 years ago
I've formatted the text block to be more readable.
The command is in fact CMD ["/lib/systemd/systemd"]
, not CMD ["/usr/lib/systemd/systemd"]
. See https://github.com/j8r/dockerfiles/blob/master/systemd/ubuntu/18.04.Dockerfile#L29, the line is correct.
Why aren't you using jrei/systemd-ubuntu:18.04
as a base image?
Hi, I am using your Dockerfile as a baseline for a container that can join to Microsoft Active Directory. the build process finishes without any error. I am getting the error below when attempting to run the container in privileged mode. _docker: Error response from daemon: OCI runtime create failed: containerlinux.go:367: starting container process caused: exec: "/usr/lib/systemd/systemd": stat /usr/lib/systemd/systemd: no such file or directory: unknown
here is the Dockerfile:
I'd appreciate any guidance you can provide.
Best, AR