Skip to content

Commit

Permalink
Add "mkdir" for "/run/systemd"
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Aug 26, 2016
1 parent 26f3fbb commit 24efd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ RUN sed -i 's/^#\s*\(deb.*universe\)$/\1/g' /etc/apt/sources.list
# make systemd-detect-virt return "docker"
# See: https://github.com/systemd/systemd/blob/aa0c34279ee40bce2f9681b496922dedbadfca19/src/basic/virt.c#L434
RUN echo 'docker' > /run/systemd/container
RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
# overwrite this with 'CMD []' in a dependent Dockerfile
CMD ["/bin/bash"]
Expand Down

0 comments on commit 24efd22

Please sign in to comment.