--- title: 'Upgrading' description: 'Upgrading NocoDB : Docker, npm, Heroku!' position: 2 category: 'Getting started' menuTitle: 'Upgrading' link: https://codesandbox.io/embed/vigorous-firefly-80kq5?hidenavigation=1&theme=dark --- ## Docker ### Find, stop & delete nocodb docker container ``` docker ps docker stop YOUR_CONTAINER_ID" docker rm YOUR_CONTAINER_ID" ``` ### Find & remove nocodb docker image ``` docker images docker rmi YOUR_IMAGE_ID ``` ### Pull the latest nocodb image with same environment variables ``` docker run -d -p 8080:8080 \ -e NC_DB="YOUR_NC_DB_URL" \ -e NC_AUTH_JWT_SECRET="YOUR_NC_AUTH_JWT_SECRET_IF_GIVEN" \ nocodb/nocodb:latest ``` Updating nocodb docker container is similar to updating [any other docker container](https://www.whitesourcesoftware.com/free-developer-tools/blog/update-docker-images/). ### Example docker upgrade ## Node Updating docker container is similar to updating a npm package. From your root folder #### Uninstall nocodb package ```bash npm uninstall nocodb ``` #### Install nocodb package ```bash npm install --save nocodb ``` ## Heroku Use Heroku CLI login ``` heroku container:login docker pull nocodb/nocodb:latest docker tag nocodb/nocodb:latest registry.heroku.com//web docker push registry.heroku.com//web heroku container:release -a web ```