Category : docker

When docker run npm install I have ERR_SOCKET_TIMEOUT I already try : RUN npm config set registry="http://registry.npmjs.org The command work when I’m using my phone network but not when I’m using my home wifi. I don’t have proxy on both of them 7194 verbose type system 7195 verbose stack Fetch Error: request to http://registry.npmjs.org/workbox-streams/-/workbox-streams-5.1.4.tgz failed, ..

Read more

I’m setting up a pipeline for a java app. I can successfully build the app into a JAR, but I then want to create a docker container and add the JAR to that container. My jar file is created at /drone/src/target/app.jar However, when I try to ADD the jar during the container build stage, I ..

Read more

I have followed the steps here on the official docker documentation: https://docs.docker.com/engine/install/linux-postinstall/ sudo groupadd docker sudo usermod -aG docker $USER newgrp docker docker run hello-world The above steps work as expected. But the issue is that when I close my terminal or open a new one and try to run the command docker run hello-world ..

Read more

I’m following a docker tutorial and ran the docker-compose command inside the correct directory I get the following error: docker-compose build ERROR: Couldn’t connect to Docker daemon – you might need to run docker-machine start default And when I ran that command I get: Docker machine "default" does not exist. Use "docker-machine ls" to list ..

Read more

I’m following a docker tutorial and ran the docker-compose command inside the correct directory I get the following error: ERROR: The Compose file ‘./docker-compose.yaml’ is invalid because: Unsupported config option for services: ‘api’ This is my docker-compose.yaml services: db: image: postgres volumes: – ./data/db:/var/lib/postgresql/data environment: – POSTGRES_DB=postgres – POSTGRES_USER=postgres – POSTGRES_PASSWORD=postgres api: build: dockerfile: docker/api/Dockerfile ..

Read more

[[email protected] yum.repos.d]# yum install docker-ce-20.10.2* Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: la.mirrors.clouvider.net * extras: mirrors.ocf.berkeley.edu * updates: sjc.edge.kernel.org Resolving Dependencies –> Running transaction check —> Package docker-ce.x86_64 3:20.10.2-3.el7 will be installed –> Processing Dependency: container-selinux >= 2:2.74 for package: 3:docker-ce-20.10.2-3.el7.x86_64 –> Processing Dependency: containerd.io >= 1.4.1 for package: 3:docker-ce-20.10.2-3.el7.x86_64 –> ..

Read more

We are just starting out using Docker. We have many .NET Projects in a folder structure that is multiple layers deep, sort of like this: –Dev –Api –Mobile.Api.Auth –Auth –AuthBO –More folders… –Data –ClientAccess –MasterAccess –More folders… –More folders… I want to Containerize Mobile.Api.Auth. It has a project dependency to AuthAuthBO, which has project dependencies ..

Read more

I am trying to push image in Container Registry. I am using a free trial account. –HostDotNetAppOnUbuntuContainer is the name of my containerRegistry –imageofwebapp is the image running on linux server –dotnetappcontainer name given to register image on CR sudo az acr login –name HostDotNetAppOnUbuntuContainer (Login ot your CR) sudo docker tag imageofwebapp HostDotNetAppOnUbuntuContainer.azurecr.io/dotnetappcontainer sudo ..

Read more