-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
awaiting responseResponse/info is needed from userResponse/info is needed from user
Description
First of all - this is a great utility, really appreciate it!
I am trying to setup using the docker-socket-proxy method. When I do this it doesn't find all the ports on my server, and it just lists my docker containers as "docker-proxy" and does not list them as their actual name. When I switch away from the docker-proxy and use - /var/run/docker.sock:/var/run/docker.sock:ro instead it gets all ports (host machine and docker) and names everything correctly. Is this the intended behavior?
compose file for portracker:
services:
portracker:
image: mostafawahied/portracker:latest
container_name: portracker
restart: unless-stopped
pid: "host"
cap_add:
- SYS_PTRACE
- SYS_ADMIN
security_opt:
- apparmor:unconfined
volumes:
- ./portracker-data:/data
# - /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- "4999:4999"
environment:
- DOCKER_HOST=tcp://docker-proxy:2375
compose file for docker-socket-proxy:
services:
dockerproxy:
image: tecnativa/docker-socket-proxy:latest
container_name: dockerproxy
restart: unless-stopped
expose:
- "2375"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
AUTH: 0
SECRETS: 0
POST: 1 #When disabled, only GET and HEAD operations are allowed, meaning any section of the API is read-only.
BUILD: 0
COMMIT: 0
CONFIGS: 0
CONTAINERS: 1
ALLOW_START: 1 #(containers/id/start)
ALLOW_STOP: 1 #(containers/id/stop)
ALLOW_RESTARTS: 1 #(containers/id/stop|restart|kill)
DISTRIBUTION: 1
EXEC: 1
GRPC: 0
IMAGES: 1
INFO: 1
NETWORKS: 1
NODES: 0
PLUGINS: 0
SERVICES: 1
SESSION: 0
SWARM: 0
SYSTEM: 0
TASKS: 1
VOLUMES: 1
PING: 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
awaiting responseResponse/info is needed from userResponse/info is needed from user