-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
Key point is that NEMS' Docker Container requires systemd, but as that would pose a security risk, I have opted to instead go with docker-systemctl-replacement. I've setup an environment that should behave much like a virtual appliance. | ||
|
||
- Run in image folder: `docker build -t nemslinux .` | ||
- Run the container as daemon: `docker run --mount type=tmpfs,destination=/tmp,tmpfs-mode=1770 --restart=unless-stopped --name nems -d nemslinux` | ||
|
||
# - Connect to the container: `docker run -it ##DOCKERID## bash` | ||
- Deploy the container as daemon: `docker run --mount type=tmpfs,destination=/tmp,tmpfs-mode=1770 --restart=unless-stopped --stop-timeout 120 --name nems -d nemslinux` | ||
- Connect to the container: `docker exec -it nemslinux bash` | ||
- Compile NEMS Linux as normal, platform 21. | ||
- Run NEMS Linux: `docker exec -d nemslinux` | ||
|
||
##How to operate | ||
|
||
- nemslinux must first be running as daemon: `docker run -d nemslinux` | ||
- To access terminal of NEMS Server: `docker exec -it nemslinux bash` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters