New answers tagged

0

Try to modify it like this: location /service-1/ { proxy_pass http://127.0.0.1:8080/; }


0

mkdir /var/lib/docker/overlay2/f6e22c4d99f1e9907a8ff4b05338386a38b9a7cd802944a877102bb805b97dac/merged/var/log/nginx: read-only file system\\\"\" This is complaining that it cannot create a directory under /var/lib/docker. None of that filesystem should be read-only. Perhaps you didn't start the docker engine as root, or perhaps there's something ...


2

This way it worked for me: MYSQL_ROOT_HOST: '%'


-1

user460778 answer is the correct one, there can be only entry point for a container, here it should be php-fpm service, So you need to run crons from supervisor. My supervisor file looks like this [supervisord] nodaemon=true [program:php-fpm] command = /usr/local/sbin/php-fpm autostart=true autorestart=true [program:cron] autorestart=false command=cron -f


1

This worked for me. This is the Dockerfile: FROM ubuntu:20.04 RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends git cmake g++ # Cleanup RUN apt-get clean && \ rm -rf /var/lib/apt The packages git, cmake and g++ are the ones I needed in the image. Replace that with what you need.


0

You are trying to expose port 8000 on two different containers. Each container where you expose ports must use a unique port number on the host.


2

Thanks to a comment @A.B made, I found the solution. I believe the main issue was that the br_netfilter module was not loaded: $ lsmod | grep br_netfilter $ On another CentOS 7 Docker host (that does not have this problem), the module was loaded: $ lsmod | grep br_netfilter br_netfilter 22256 0 bridge 146976 1 br_netfilter ...


Top 50 recent answers are included