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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -