Coder has open-sourced a new remote development platform 🥳 Check it out at coder/coder on GitHub.

Upgrade

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., 1.32.0):

docker run --rm -it \
    -p 7080:7080 \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v ~/.coder:/var/run/coder \
    codercom/coder:<version>

Docker Compose

If you use Docker Compose to run Coder, here's how to upgrade your deployment:

  1. Update the Coder the version in your docker-compose-yml file:

    # ...
    services:
    coder:
      image: docker.io/codercom/coder:1.32.0
      # ...
    
  2. Recreate your image:

    docker-compose up --force-recreate --build -d
    
  3. Start the container:

    docker-compose up
    

Was this page helpful? Share your experience with us.

 

See an opportunity to improve our docs? Make an edit.