This guide will show you how to upgrade your Coder for Docker deployment.
To upgrade, run the following command to download the resources you need,
including the latest images (ensure that you're providing the correct version
number in the command, e.g.,
docker run --rm -it \ -p 7080:7080 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ~/.coder:/var/run/coder \ codercom/coder:<version>
If you use Docker Compose to run Coder, here's how to upgrade your deployment:
Update the Coder the version in your
# ... services: coder: image: docker.io/codercom/coder:1.31.0 # ...
Recreate your image:
docker-compose up --force-recreate --build -d
Start the container: