Docker inspect with unix:///var/run/docker.sock (in Java or Scala) -
docker has lots of interesting information available via unix:///var/run/docker.sock
i have been able map port , can access /containers/json requests port. but... not secure.
how can access /containers/json raw socket file (in java or scala)?
it's not possible use pure java there no framework support unix sockets. however, can use sort of jni-library this. this one.
Comments
Post a Comment