spotify-docker-client

Pushing images to docker registry using docker-client api

风流意气都作罢 提交于 2019-12-12 21:07:43
问题 While exploring docker-client api (java) what certificates are exactly required for setting up connection to the docker daemon running on a vm. The code which I found online : { // Create a client based on DOCKER_HOST and DOCKER_CERT_PATH env vars final DockerClient docker = DefaultDockerClient.fromEnv().build(); // Pull an image docker.pull("busybox"); } The link to above example is available at : https://github.com/spotify/docker-client What I intend to do is access docker-daemon running on

While containerizing web app , it gets stuck at copying war file

ぃ、小莉子 提交于 2019-12-11 17:38:19
问题 [INFO] --- docker-maven-plugin:1.0.0:build (default) @ bookstore --- 18:35:34.921 [main] DEBUG com.spotify.docker.client.DockerCertificates - /root/.docker/ca.pem, /root/.docker/key.pem or /root/.docker/cert.pem does not exist, not using SSL 18:35:35.076 [main] DEBUG com.spotify.docker.client.DockerConfigReader - Using configfile: /root/.dockercfg [WARNING] No entry found in settings.xml for serverId=docker-hub, cannot configure authentication for that registry [INFO] Using authentication