Skip to content

Commit

Permalink
Update Install-JATOS-via-Docker.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kristian-lange authored May 16, 2024
1 parent 88af5ee commit 25065fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Also have a look at [JATOS with Docker Compose](/JATOS-with-Docker-Compose.html)
The `-d` argument specifies to run this container in detached mode (in the background) and the `-p` is responsible for the port mapping.

1. You can check that the new container is running correctly:

In the following instructions, if you are on a remote host, change `localhost` to your IP/domain.

* Use `docker ps` in the terminal: in the line with `jatos/jatos` the status should say `up`
* Use curl: `curl http://localhost:9000/ping` should give you `pong` back
Expand Down Expand Up @@ -138,4 +140,4 @@ There are two possibilities to update JATOS running in a Docker container:

1. Unless you run [JATOS on multiple nodes](/JATOS-in-a-cluster.html), you can simply use the [auto-update feature](/Update-JATOS.html#automatic-update) to update JATOS to newer versions.

1. Another way, arguably even simpler, is to just change the Docker image tag of JATOS to a newer version. Stop the current running JATOS container and run a new one with the new version tag. **But this only works if you [persist your data with volumes](/Install-JATOS-via-Docker.html#persist-data-with-volumes) - If you don't use volumes your data stored in JATOS will be lost**.
1. Another way, arguably even simpler, is to just change the Docker image tag of JATOS to a newer version. Stop the current running JATOS container and run a new one with the new version tag. **But this only works if you [persist your data with volumes](/Install-JATOS-via-Docker.html#persist-data-with-volumes) - If you don't use volumes your data stored in JATOS will be lost**.

0 comments on commit 25065fc

Please sign in to comment.