Skip to content

docker socket integration #59

Closed Answered by bearded-papa
bearded-papa asked this question in Q&A
Discussion options

You must be logged in to vote

Figured where my mistake was.
DOCKER_SOCKET variable needs to be = /var/run/docker.sock
so a full newt compose should be as follows for anyone else asking the same question

services:
  newt:
    image: fosrl/newt
    container_name: newt
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - PANGOLIN_ENDPOINT=https://pangolin.<HIDDEN FOR SECURITY>
      - NEWT_ID=<HIDDEN FOR SECURITY>
      - NEWT_SECRET=<HIDDEN FOR SECURITY>
      - DOCKER_SOCKET=/var/run/docker.sock

and there will be an orange link "View Docker Containers" under the IP section of Target Configuration when adding a new resource

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bearded-papa
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bearded-papa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants