I need to disable IPv6 when starting a Docker container from Java code. Using the command line, it is as follows:
docker run --sysctl net.ipv6.conf.all.disable_ipv6=1 ...
Is it possible to do the same but using Java with Spotify's docker-client?
As alternative solution... would it be possible to do with docker-java?