How to run a docker image in IBM Cloud functions?

I have a simple Python program that I want to run in IBM Cloud functions. Alas it needs two libraries (O365 and PySnow) so I have to Dockerize it and it needs to be able to accept a Json feed from S

View details »

How to access app running in localhost from testcafe running in docker container?

I have my application running in localhost:8080 and I run testcafe in custom docker container. How can I access the app running in localhost? > docker run -ti mycustom/testcafe firefox /tests/* Fa

View details »

Cannot connect to mongo instance running on host from a container on Mac

New to Docker here, trying to run an image that which needs to connect to mongo. I have the instance running locally on the default port on Mac, but I am getting a connection refused error. I tried

View details »

How do you patch Docker working on k8s nodes?

As far as we can see security researches keep finding vulnerabilities in Docker. So what is the best practice if I need to update Docker working on k8s nodes deployed to AWS? Can it be done without

View details »

Postgres docker has unknown user

Here is my docker compose file: version: '3.1' services: db: image: postgres restart: always ports: - 5432:5432 environment: POSTGRES_PASSWORD: authdb adminer:

View details »

How to run a Dockerfile locally on a Windows 10 machine?

I'm new to Docker and I'm trying to run a dockerfile locally on my machine to make sure everything is working correctly before uploading it to GitHub and trying it out on another server. Is there a

View details »

Docker containers disappeared after reboot

I'm using docker containers on an *nix instance (AWS). Some shut down the instance by mistake. When the machine is rebooted, I can't see my docker containers any more. Even when I do docker ps -a.

View details »

Docker-compose deploying redis but app.js refuses connection

I am trying to containerize a nodejs application. The application runs fine on a node container that I manually install and run redis on, but when I try to run the app in a container using my docker

View details »

Using RUN command in Dockerfile on Windows and Linux

In my Dockerfile I have FROM microsoft/dotnet:2.1-sdk COPY devops/scripts/setup.sh . RUN ls RUN chmod +x ./setup.sh RUN ./setup.sh WORKDIR /app Step 3 I am using just to show that file is actual

View details »

Map Spring Boot port to 80 in docker container

I am specifying PORT 80 in Spring boot application.properties like this server.port=80 So when running on localhost, this runs on port 80 Now I need to run it in a docker container and I did some h

View details »

Can Windows Containers be run on top of Kubernetes in a local development environment?

I have a windows 10 PC and want to run asp.net windows containers on top of a single node Kubernetes for testing before deploying to the cloud, so is this feasible?.

View details »

How can I see all docker Image tags?

I am pretty new to docker and I started playing around with it. I downloaded the latest mongo docker image: docker pull mongo Then I view the image I downloaded (docker images) but the only informa

View details »

Openwhisk Docker different behavior from IBM cloud CLI than its frontend

I want to run my Python program on IBM cloud functions, because of dependencies this needs to be done in an OpenWhisk Docker. I've changed my code so that it accepts a json: json_input = json.loads

View details »

Docker login to gcp using json credentials

I want to log into docker on google cloud from the command line in Windows using credentials in json format. Firstly, I generated the keys of the service accounts in google cloud IAM & Admin. After

View details »

iKEv2 VPN docker client

I have several containers which need to access web services hosted behind different VPN. I do not want to overload those container's images with a VPN client. I cannot either put a VPN client on m

View details »

adding environment variable to PYTHONPATH in a docker file

I'm trying to dockerize a Django application where I use some custom modules and in order to import them I need to add their path to PYTHONPATH the problem is when I try to do it I overwrite the PY

View details »

Build docker multi stage with files from the first stage

i’ve the following docker file which works OK, I use multistage build and the “runner” uses FROM golang:1.11.4-alpine3.8 FROM golang:1.11.4-alpine3.8 AS builder ENV SOURCES /github/myapp RU

View details »

Vue deployment with Dokku

My project is working and build correctly in local, in development or production, but when I try to push to my DigitalOcean Ubuntu server through Dokku it crashes # server.js at the root const expr

View details »

Python code to retrieve token external API not working in docker container, same code works directly on Raspberry PI

I have a piece of working python code on the Raspberry PI. I want to run the same code in a docker container. There seems to be some issue with retrieval of the token. The code is exactly the same,

View details »

Multiple ip on same interface in Docker container

Is that possible to have multiple IPs on eth0 in a Docker container? I would like having 5 IPs on eth0 in a Docker container interface. I am using "ip" utility. Executing ip address add 172.20.0.20

View details »