Skip to content
Permalink
Browse files

/tmp as tmpfs

  • Loading branch information...
Cat5TV committed Aug 19, 2019
1 parent f1e53af commit 0708b2d1b1accbc8895d44465605b4ea74784ad3
Showing with 1 addition and 3 deletions.
  1. +1 −1 notes/docker/docker-container.md
  2. +0 −2 notes/docker/image/Dockerfile
@@ -1,6 +1,6 @@
- Run in image folder: `docker build -t nemslinux .`
- Get the Docker ID: Note the output of "Successfully built ####"
- Run the container as daemon: `docker run --name nemslinux -d ##DOCKERID##`
- Run the container as daemon: `docker run --mount type=tmpfs,destination=/tmp,tmpfs-mode=1770 --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.
@@ -52,5 +52,3 @@ EXPOSE 2812/tcp
EXPOSE 9090/tcp

RUN /root/nems/nems-admin/nems-build.sh 21

RUN rm -Rf /tmp/*

0 comments on commit 0708b2d

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