Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
install:docker [2021/02/22 15:20]
hub [Docker] link to docker hub
install:docker [2021/03/15 14:16] (current)
nick young [Install Synchronet on Docker]
Line 1: Line 1:
-====== Docker ======+====== ​Install Synchronet on Docker ======
  
  
-**[[https://​hub.docker.com/​repository/​docker/​bbsio/​synchronet/​general|Synchronet on Docker Hub]]** images are is built from [[https://​gitlab.synchro.net/​main/​sbbs|source]] via [[https://​github.com/​bbs-io/​synchronet-docker|bbs-io/​synchronet-docker on github]].+**[[https://​hub.docker.com/​repository/​docker/​bbsio/​synchronet/​general|Synchronet on Docker Hub]]** images are built from [[https://​gitlab.synchro.net/​main/​sbbs|source]] via [[https://​github.com/​bbs-io/​synchronet-docker|bbs-io/​synchronet-docker on github]].  Images are build for x86_64, armv7 and arm64.
  
 ==== Tags ==== ==== Tags ====
Line 15: Line 15:
  
 If you are running Windows, it is recommended that you first install WSL2, then Docker Desktop, configured for WSL2 and doing your volume mounts from inside WSL2 (such as with Ubuntu). ​ VS Code with WSL Remote extension will make editing much easier to work with.  Note: you can access your WSL2 instances in explorer via `\\wsl$`. ​ You may want to add your SBBS volume directory to your Quick access shortcuts. If you are running Windows, it is recommended that you first install WSL2, then Docker Desktop, configured for WSL2 and doing your volume mounts from inside WSL2 (such as with Ubuntu). ​ VS Code with WSL Remote extension will make editing much easier to work with.  Note: you can access your WSL2 instances in explorer via `\\wsl$`. ​ You may want to add your SBBS volume directory to your Quick access shortcuts.
- 
  
 ===== Running ===== ===== Running =====
  
-For your first time running ​Synchronet (fresh install), you should prepare the directories for volume mounting.+The easiest way to get running ​is with docker-compose.
  
-    ​sudo mkdir -p /sbbs/backup +    mkdir ~/sbbs 
-    ​sudo mkdir -p /sbbs/ctrl +    ​cd ~/sbbs 
-    ​sudo mkdir -p /​sbbs/​text +    ​wget -O docker-compose.yml https://raw.githubusercontent.com/bbs-io/synchronet-docker/master/docker-compose.yml 
-    sudo mkdir -/sbbs/web +    ​docker-compose up -d 
-    sudo mkdir -p /sbbs/data +    sudo chmod -R a+rwX ./*
-    sudo mkdir -/sbbs/fido +
-    sudo mkdir -/sbbs/xtrn +
-    sudo mkdir -p /sbbs/mods +
-    ​sudo mkdir -p /sbbs/nodes +
-    sudo chmod a+rwX /sbbs+
  
-If upgrading from a previous run, you should pull the latest release.+To shutdown:
  
-    ​docker ​pull bbsio/​synchronet:​latest+   docker-compose down
  
 +To get a bash prompt inside the running container:
  
-From here, you can start sbbs: +    ​docker ​exec -it sbbs bash 
- +     
-    ​docker ​run -d --restart=unless-stopped \ +To run scfg:
-      --name ​sbbs \ +
-      -h sbbs \ +
-      -v /​sbbs/​backup:/backup +
-      -v /​sbbs/​ctrl:/​sbbs/​ctrl +
-      -v /​sbbs/​text:/​sbbs/​text +
-      -v /​sbbs/​web:/​sbbs/​web +
-      -v /​sbbs/​data:/​sbbs/​data +
-      -v /​sbbs/​fido:/​sbbs/​fido +
-      -v /​sbbs/​xtrn:/​sbbs/​xtrn +
-      -v /​sbbs/​mods:/​sbbs/​mods +
-      -v /​sbbs/​nodes:/​sbbs/​nodes +
-      -p 23:23 +
-      -p 80:80 +
-      ...repeat for all service ports... +
-      bbsio/​synchronet:​latest +
- +
- +
-===== Shutting Down ===== +
- +
- +
-To shut down and remove an existing instance, such as before running a new version. +
- +
-    docker rm --force sbbs+
  
 +    docker exec -it sbbs scfg
  
 ===== Editing Content ===== ===== Editing Content =====
Line 91: Line 64:
  
 ===== Ports ===== ===== Ports =====
- 
  
 Synchronet is preconfigured for the following services/​ports,​ see `/​sbbs/​ctrl/​sbbs.ini` and `/​sbbs/​ctrl/​services.ini` for additional configuration. Synchronet is preconfigured for the following services/​ports,​ see `/​sbbs/​ctrl/​sbbs.ini` and `/​sbbs/​ctrl/​services.ini` for additional configuration.
Line 130: Line 102:
 ===== See Also ===== ===== See Also =====
   * [[:​install:​|install index]]   * [[:​install:​|install index]]
 +  * [[howto:​docker|How to Setup Docker on Ubuntu]]
  
 {{tag>}} {{tag>}}
  

In Other Languages