Skip to content
Permalink
Browse files

Attempt to run systemctl on PID-1

  • Loading branch information...
Cat5TV committed Aug 19, 2019
1 parent ca08599 commit 26d5767a04c85deab014962df9e41b6cce04f731
Showing with 4 additions and 1 deletion.
  1. +2 −1 notes/docker/docker-container.md
  2. +2 −0 notes/docker/image/Dockerfile
@@ -1,6 +1,7 @@
- Run in image folder: `docker build -t nemslinux .`
- Get the Docker ID: Note the output of "Successfully built ####"
- Connect to the container: `docker run -it ##DOCKERID## bash`
- Run the container as daemon: `docker run --name nemslinux -d ##DOCKERID##`
# - Connect to the container: `docker run -it ##DOCKERID## bash`
- Connect to the container: `docker exec -it nemslinux bash`
- Compile NEMS Linux as normal, platform 21.
- Run NEMS Linux: `docker exec -d nemslinux`
@@ -43,3 +43,5 @@ EXPOSE 443/tcp
EXPOSE 2812/tcp
# cockpit
EXPOSE 9090/tcp

ENTRYPOINT ["exec /bin/systemctl"]

0 comments on commit 26d5767

Please sign in to comment.
You can’t perform that action at this time.