I have the following docker-compose.yml file version: ‘3’ services: postgres: image: ‘postgres:latest’ redis: image: ‘redis:latest’ nginx: restart: always build: dockerfile: Dockerfile.dev context: ./nginx ports: – ‘3050:80’ api: build: dockerfile: Dockerfile.dev context: ./server volumes: – /app/node_modules – ./server:/app environment: – REDIS_HOST=redis – REDIS_PORT=6379 – PGUSER=postgres – PGHOST=postgres – PGDATABASE=postgres – PGPASSWORD=postgres_password – PGPORT=5432 client: build: dockerfile: ..

Read more

I am following the quickstart guide from here https://docs.docker.com/samples/rails/ On the last step docker-compose run web rake db:create I am getting an error Could not find public_suffix-4.0.6 in any of the sources When I install this gem sepperatly looks like it works gem install public_suffix Successfully installed public_suffix-4.0.6 But I am still getting the same ..

Read more

I have several machines with Docker installed and I am trying to list/filter some Docker images like this: docker image ls cdp-* Some machines prints list of images, some machines (with same Docker 20.10.5 and same Docker images installed) do not return anything. With Docker 20.10.6 I’ve even seen this error: $ docker image ls ..

Read more

I’ve been trying to connect .net 5 app with mssql server using docker. I’ve been always getting this error: Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed for user ‘sa’. This is appsetting.json file: "ConnectionStrings": { "OrderingConnectionString": "Server=localhost;Database=OrderDb;User Id=sa;[email protected];" }, This is docker-compose.yml file: orderdb: image: mcr.microsoft.com/mssql/server:2017-latest This is docker-compose.override.yml file orderdb: container_name: orderdb environment: SA_PASSWORD: "[email protected]" ACCEPT_EULA: "Y" ..

Read more