Docker - the open-source application container engine. This chat is intended for contributors new to the Docker project or new to open source. For user help, please goto #docker on freenode. For advanced contributors please goto #docker-dev on freenode.
--network host
apparently isn't supported on my development OS (mac)
Haley
How can I define the location on the host. I want it to go to /var/nfs/phobos-static and /var/nfs/phobos-files
Haley
any idea? (this is, using a docker-compose file).
Meliodas
* hello everyone, - ./config-data:/var/config-data
environment:
- JAVA_OPTS=
-DEUREKA_SERVER=http://registry:8761/eureka
-Dspring.cloud.config.server.native.searchLocations=/var/config-data
depends_on:
- registry
ports:
- "8888:8888"
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
I am trying to fix this from the last 3 days and not able to fix
Command------ docker run -ti -p 127.0.0.1:5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust -e LC_COLLATE=en_US.UTF8 -e LC_CTYPE=en_US.UTF8 --rm postgres:11 -c log_statement=all
Error------ docker: Error response from daemon: driver failed programming external connectivity on endpoint trusting_feistel (c76e7077bd6e012a2282670506334a0aef50695489dc20a1992e00e205f0954c): Error starting userland proxy: listen tcp 127.0.0.1:5432: bind: address already in use.
I'm trying to run Docker inside Docker and mounting the /var/run/docker.sock socket
. The socket gets the following permissions and ownership inside the container:
srwxr-xr-x 1 root root 0 Nov 8 17:20 /var/run/docker.sock
meaning it can't be accessed from inside the container with regular user privileges.
What's the best way to resolve this?
WARN[0000] invalid non-bool value for BUILDX_NO_DEFAULT_LOAD:
WARN[0000] No output specified for docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
[+] Building 6.1s (15/15) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [linux/arm64 internal] load metadata for docker.io/phenompeople/centos-sunjre:JP 6.0s
=> [linux/amd64 internal] load metadata for docker.io/phenompeople/centos-sunjre:JP 6.0s
=> [linux/amd64 1/5] FROM docker.io/phenompeople/centos-sunjre:JP@sha256:b6aa25e541a6102b77fca769738d00027fa3cfd6f2ff15507c4846d3845d7fad 0.0s
=> => resolve docker.io/phenompeople/centos-sunjre:JP@sha256:b6aa25e541a6102b77fca769738d00027fa3cfd6f2ff15507c4846d3845d7fad 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 148B 0.0s
=> [linux/arm64 1/5] FROM docker.io/phenompeople/centos-sunjre:JP@sha256:b6aa25e541a6102b77fca769738d00027fa3cfd6f2ff15507c4846d3845d7fad 0.0s
=> => resolve docker.io/phenompeople/centos-sunjre:JP@sha256:b6aa25e541a6102b77fca769738d00027fa3cfd6f2ff15507c4846d3845d7fad 0.0s
=> CACHED [linux/arm64 2/5] COPY target/test-1.0-SNAPSHOT.jar /opt/deployment/test/test-1.0-SNAPSHOT.jar 0.0s
=> CACHED [linux/arm64 3/5] COPY *-server.sh /opt/deployment/