Merge pull request #121 from ChristianLempa:118-if-you-get-error-no-such-host-or-get-httpcadvisor8080metrics-dial-tcp-lookup-cadvisor-on-127001153-no-such-host

remove network mode
This commit is contained in:
Christian Lempa 2023-09-13 11:57:40 +02:00 committed by GitHub
commit d4d123a646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,6 @@ services:
container_name: cadvisor
ports:
- 8080:8080
network_mode: host
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
@ -15,4 +14,4 @@ services:
devices:
- /dev/kmsg
privileged: true
restart: unless-stopped
restart: unless-stopped