Tag : docker

I’m trying to create a BuildConfig to automatically build a docker image and store it to the GitLab docker registry. buildconfig.yaml kind: "BuildConfig" apiVersion: "v1" metadata: name: "tracker-build" spec: runPolicy: "Serial" triggers: – type: "GitLab" gitlab: secretReference: name: "webhooksecret" source: git: uri: "https://gitlab.com/USERNAME/rayan_tracker_paas.git" sourceSecret: name: gitsecret strategy: dockerStrategy: forcePull: true output: to: kind: "DockerImage" name: ..

Read more

I’m having docker-compose.yml which content I’m not supposed to change. Is it possible to use docker-compose.debug.yml which I would use to override docker-compose.yml content but only inside Visual Studio Debug and Docker profile (defined in appsettings.json)? docker-compose.debug.yml will have an image built from local dev image file, different ports, … The goal is to have ..

Read more

I am building a dockerized R Shiny Application. I recently purchased a new router: ASUS RT-AX55, and am running into issues with docker images downloading dependencies. When I install packages with dependencies locally, I have no issues. However, when I install packages in the course of building from a docker file I receive the following ..

Read more

Summary I am trying to execute this simple python code snippet in an all-spark-notebook which is supposed to be executed in a local spark cluster which I setup in this docker-compose file. However, I am getting the error ModuleNotFoundError: No module named ‘pyspark’ which doesn’t make sense to me, because in this Dockerfile (which I ..

Read more

I have Docker profile in the launchSettings.json like this "Docker": { "commandName": "Docker", "launchBrowser": true, "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}", "publishAllPorts": true, "useSSL": true } Since I’m having multiple docker-compose files like docker-compose.yml docker-compose.dev.yml docker-compose.prod.yml how can I use Docker profile in launchSettings.json and target specific docker compose yml file? Source: Docker..

Read more

I am trying to run the Docker command so that I can copy a file on my local machine to the container: PS C:UsersDarrenOneDriveDesktop> docker cp micro.conf 836539dcf6e1:/example/micro.conf Where micro.conf is on my local machine and /example/micro.conf is where I am trying to copy the file to. The example directory does not exist so I ..

Read more

I am trying to run my first Docker app using the tutorial: https://docs.docker.com/get-started/02_our_app/ When I come here: docker run -dp 3000:3000 getting-started As soon as I change the port to something else: docker run -dp 8000:8000 getting-started I get error: Page Not Found. Is there something special about the port 3000 that it seems to ..

Read more

I am tyring to create a mongodb container with following command: docker run -dit –rm -p 27017:27017 –name mongo-docker mongo:latest I am getting this error when I’m running the command: docker: (Image hash)Error response from daemon: driver failed programming external connectivity on endpoint mongo-docker: Error starting userland proxy: listen tcp4 0.0.0.0:27017: bind: address already in ..

Read more