Comments (5)
What I do is first click the redeploy in portainer and tell it to pull the latest image, this sets up a new container with the correct settings then I use the docker cli to remove the old container and rename and start the new container
from wdpksrc.
root@MyCloudPR4100 # docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e250f84c2e02 portainer/portainer "/portainer" 5 months ago Up 3 minutes 0.0.0.0:9000->9000/tcp reverent_tu
root@MyCloudPR4100 # docker stop e250
e250
root@MyCloudPR4100 # docker pull portainer
Using default tag: latest
latest: Pulling from portainer/portainer
d1e017099d17: Already exists
84dbae3c7ec8: Pull complete
Digest: sha256:a16919b3e02323e4bd0a8c5023d6fd569525297b9dc9a028d778cb6e13512be5
Status: Downloaded newer image for portainer/portainer:latest
root@MyCloudPR4100 # docker run -d -p 9000:9000 --restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /shares/Volume_1/Nas_Prog/docker/portainer:/data portainer/portainer
f487c6da9f744051bbbd0ab0d5e198923c95fd7f513cb4851f73a848912c4b6c
from wdpksrc.
Where is "redeploy" in portainer? I'm using portainer and it's running already I'm not doing anything in cmd line
from wdpksrc.
Here is a step by step what I do:
- Open Portainer to the Containers View
- Open Portainers Container Instance
- Recreate the Portainer Container (Selecting the Pull Latest Image)
- It will create a new container with the current settings from the new image but will fail to remove itself and start the new container, you must now use the CLI
- run
docker rename portainer portainer_old
- run
docker rename <new container id> portainer
- you can find the container id with
docker ps -a
- you can find the container id with
- run
docker start portainer
- if everything is working run
docker rm portainer_old
from wdpksrc.
Thanks @cmd430 for explaining.
I'd suggest to add a docker section to the wiki with a small tutorial. Then we can close this.
from wdpksrc.
Related Issues (20)
- Syncthing installed on OS5 but cannot access at port 8384 HOT 7
- update syncthing please HOT 3
- Detecting it as incompatible in last update
- Can't uninstall Docker HOT 1
- More recent docker HOT 3
- Calibre update?
- Docker on single bay WD MyCloud? HOT 1
- Syncthing not avalible on port 8384 HOT 2
- Settings in portainer for ports? HOT 4
- Segmentation fault
- mc also for other systems? HOT 2
- Entware How to Uninstall HOT 3
- Docker 20.10.5 on armhf platforms HOT 33
- What would happen if someone created an `entware` share in either OS3 or OS5? Potential problem? HOT 2
- Portainer's use of port 9000 clashes with OS5's use of http://127.0.0.1:9000/rpc HOT 8
- Update duplicati packages for Western Digital NAS in MyCloudOS 3 and 5 HOT 3
- Installing on OS5 HOT 1
- seccomp: config provided but seccomp not supported HOT 4
- Error trying to start portainer "cannot find cgroup mount destination" HOT 2
- Docker / Crontab / OS 5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wdpksrc.