Posts

Showing posts with the label docker-compose

Locale nl_NL missing in docker BitBucket pipeline

Locale nl_NL missing in docker BitBucket pipeline I'm using this bitbucket-pipelines.yml file to test my application before deploying it on the servers. We're missing the nl_NL locale after installing the dependencies. We're using the following file: bitbucket-pipelines.yml bitbucket-pipelines.yml: image: php:7.2.6 pipelines: default: - step: name: PHPUnit caches: - composer script: - apt-get update && apt-get install -y unzip git zlib1g-dev libicu-dev g++ locales - locale-gen && locale-gen nl_NL - echo "nl_NL UTF-8" >> /etc/locale.gen && echo "en_EN UTF-8" >> /etc/locale.gen && echo "enUS UTF-8" >> /etc/locale.gen && echo "en_GB UTF-8" >> /etc/locale.gen - locale -a The locale -a output after installation is as following: locale -a <1s + locale -a C C.UTF-8 POSIX I did expect the nl_NL lo...

Docker socket crash after stack up

Image
Docker socket crash after stack up I trying to deploy docker stack, that includes my development environment. But in random cases I have next error: failed to create service < service_name >: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Next I restart docker daemon. Sometimes it requires to kill docker processes and shims. I deleting old stack and build again. Some times docker successfully finishes build, but socket crashes on the starting stage. Also all containers work properly when I starting it in regular mode, without swarm or stack. It is not work exactly inside swarm. I have used next command to build: $ docker stack deploy dev-env-stc -c docker-compose.yml Environment run in Antergos Linux(Arch). Layout is like at the diagram Nginx container and docker networks created using commands: $ docker run --detach --name nginx-main --net dev-env-ext --ip 10.20.20.10 --publish 80:80 --publish 443:443 --volume /env-vol/nginx...