cadvisor: apply args to reduce output (#118)

This commit is contained in:
Robert Lin authored and GitHub committed 2020-06-16 10:25:49 +08:00
1 parent 545a9181b7
commit 42c017a269
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -21,6 +21,7 @@ sudo docker run --detach \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--volume=/dev/disk/:/dev/disk:ro \
index.docker.io/sourcegraph/cadvisor:insiders@sha256:4074c8bc608b78af3ca3d6e60b3794369a190ab2efd992e31b3079b075401efa
index.docker.io/sourcegraph/cadvisor:insiders@sha256:d8ac078ee0dd954bc111563ac9785bae7fec4dc43ec197089f19c27a4e3e7b8e \
--port=8080
echo "Deployed cadvisor"
+3 -1
View File
@@ -472,7 +472,7 @@ services:
#
cadvisor:
container_name: cadvisor
image: 'index.docker.io/sourcegraph/cadvisor:insiders@sha256:4074c8bc608b78af3ca3d6e60b3794369a190ab2efd992e31b3079b075401efa'
image: 'index.docker.io/sourcegraph/cadvisor:insiders@sha256:d8ac078ee0dd954bc111563ac9785bae7fec4dc43ec197089f19c27a4e3e7b8e'
cpus: 1
mem_limit: '1g'
volumes:
@@ -484,6 +484,8 @@ services:
networks:
- sourcegraph
restart: always
command:
- --port=8080
# Description: Jaeger all-in-one instance
# (https://www.jaegertracing.io/docs/1.17/getting-started/#all-in-one) for distributed tracing.