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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -