don't update the latest tag anymore
This commit is contained in:
parent
4fe450a239
commit
fd0e4a160b
@ -11,6 +11,7 @@ cAdvisor has native support for [Docker](https://github.com/docker/docker) conta
|
|||||||
To quickly tryout cAdvisor on your machine with Docker, we have a Docker image that includes everything you need to get started. You can run a single cAdvisor to monitor the whole machine. Simply run:
|
To quickly tryout cAdvisor on your machine with Docker, we have a Docker image that includes everything you need to get started. You can run a single cAdvisor to monitor the whole machine. Simply run:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
VERSION=v0.35.0 # use the latest release version from https://github.com/google/cadvisor/releases
|
||||||
sudo docker run \
|
sudo docker run \
|
||||||
--volume=/:/rootfs:ro \
|
--volume=/:/rootfs:ro \
|
||||||
--volume=/var/run:/var/run:ro \
|
--volume=/var/run:/var/run:ro \
|
||||||
@ -20,7 +21,7 @@ sudo docker run \
|
|||||||
--publish=8080:8080 \
|
--publish=8080:8080 \
|
||||||
--detach=true \
|
--detach=true \
|
||||||
--name=cadvisor \
|
--name=cadvisor \
|
||||||
gcr.io/google-containers/cadvisor:latest
|
gcr.io/google-containers/cadvisor:$VERSION
|
||||||
```
|
```
|
||||||
|
|
||||||
cAdvisor is now running (in the background) on `http://localhost:8080`. The setup includes directories with Docker state cAdvisor needs to observe.
|
cAdvisor is now running (in the background) on `http://localhost:8080`. The setup includes directories with Docker state cAdvisor needs to observe.
|
||||||
|
@ -89,13 +89,6 @@ Go to https://github.com/google/cadvisor/releases and click "Draft a new release
|
|||||||
|
|
||||||
## 6. Finalize the release
|
## 6. Finalize the release
|
||||||
|
|
||||||
Once you are satisfied with the release quality (consider waiting a week for bug reports to come in), it is time to promote the release to *latest*
|
~~Once you are satisfied with the release quality (consider waiting a week for bug reports to come in), it is time to promote the release to *latest*~~
|
||||||
|
|
||||||
1. Edit the github release a final time, and uncheck the "Pre-release" checkbox
|
cAdvisor is no longer pushed with the :latest tag. This is to ensure tagged images are immutable.
|
||||||
2. Tag the docker & gcr.io releases with the latest version
|
|
||||||
```
|
|
||||||
$ docker pull google/cadvisor:$VERSION
|
|
||||||
$ docker tag -f google/cadvisor:$VERSION google/cadvisor:latest
|
|
||||||
$ docker tag -f google/cadvisor:$VERSION gcr.io/google_containers/cadvisor:latest
|
|
||||||
```
|
|
||||||
3. Repeat steps 4.a and 4.b to push the image tagged with latest
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
We have a Docker image that includes everything you need to get started. Simply run:
|
We have a Docker image that includes everything you need to get started. Simply run:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
VERSION=v0.35.0 # use the latest release version from https://github.com/google/cadvisor/releases
|
||||||
sudo docker run \
|
sudo docker run \
|
||||||
--volume=/:/rootfs:ro \
|
--volume=/:/rootfs:ro \
|
||||||
--volume=/var/run:/var/run:rw \
|
--volume=/var/run:/var/run:rw \
|
||||||
@ -13,7 +14,7 @@ sudo docker run \
|
|||||||
--publish=8080:8080 \
|
--publish=8080:8080 \
|
||||||
--detach=true \
|
--detach=true \
|
||||||
--name=cadvisor \
|
--name=cadvisor \
|
||||||
google/cadvisor:latest
|
google/cadvisor:$VERSION
|
||||||
```
|
```
|
||||||
|
|
||||||
cAdvisor is now running (in the background) on `http://localhost:8080/`. The setup includes directories with Docker state cAdvisor needs to observe.
|
cAdvisor is now running (in the background) on `http://localhost:8080/`. The setup includes directories with Docker state cAdvisor needs to observe.
|
||||||
|
Loading…
Reference in New Issue
Block a user