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?