Skip to content
Permalink
Browse files

Update docker-container.md

  • Loading branch information...
Cat5TV committed Aug 26, 2019
1 parent dbc82be commit 0095353e474da8aac408074d8a5897ab85eadc1d
Showing with 5 additions and 1 deletion.
  1. +5 −1 notes/docker/docker-container.md
@@ -10,4 +10,8 @@ Publish when ready:


- Stop the container: `docker stop nemslinux` - Stop the container: `docker stop nemslinux`
- `docker tag nems_1.5 baldnerd/nemslinux:1.5` - `docker tag nems_1.5 baldnerd/nemslinux:1.5`
- `docker login && docker push baldnerd/nemslinux:1.5` - `docker login && docker push baldnerd/nemslinux:latest`

Deploy:

`docker run --hostname nems --mount type=tmpfs,destination=/tmp,tmpfs-mode=1777 --mount type=tmpfs,destination=/var/www/html/backup/snapshot,tmpfs-mode=1770 --restart=unless-stopped --stop-timeout 120 --name nemslinux -d baldnerd/nemslinux:latest`

0 comments on commit 0095353

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