bst365体育投注网址大全

Questions tagged [docker]

bst365体育投注网址大全 Docker is a tool to build and run containers. Questions concerning Dockerfiles, operations, and architecture are accepted. Questions about running docker in production may find better responses on ServerFault (https://serverfault.com/). The docker tag is rarely used alone and is often paired with other tags such as docker-compose and kubernetes.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How do I start the same docker container on two different ports using docker container?

Since Products and users use all the same files, just run on different ports, how can I just run the same container twice on two different ports? version: "3.8" services: users: build: ...
1
vote
0answers
14 views

Spark submit fails on Kubernetes (EKS) with “invalid null input: name”

I am trying to run spark sample SparkPi docker image on EKS. My Spark version is 3.0. I created spark serviceaccount and role binding. When I submit the job, there is error below: 2020-07-05T12:19:40....
0
votes
1answer
12 views

Docker networks in Kubernetes/Rancher

I've been trying to convert my SimpleLogin Docker containers to Kubernetes using Rancher. However one of the steps requires me to create a network. sudo docker network create -d bridge \ --subnet=240....
0
votes
0answers
12 views

How to modify files in wordpress docker volume?

This is my docker-composer.yml for wordpress: version: '3.3' services: db: image: mysql:5.7 volumes: - db_data:/var/lib/mysql restart: always environment: ...
0
votes
0answers
15 views

Docker container doesn't find certificate

I'm rather new to Docker, so please bare with me. I have a multiproject solution and my API project needs a ssl.pfx file, for authentication using IdentityServer4. Based on this answer https://...
-1
votes
1answer
19 views

ModuleNotFoundError inside docker for nginx + uwsgi + flask

I have the following project hierarchy: # Dockerfile FROM tiangolo/uwsgi-nginx-flask:python3.8 COPY ./app /app # main.py from flask import Flask from app.xx import x print(x) app = Flask(__name__) ...
0
votes
2answers
48 views

Cannot connect to MySQL db using docker container

I wrote an application in Typescript which use Typeorm to interact with a MySQL database. When I run the app using npm run dev which is a package.json script, the connection is working fine with these ...
0
votes
0answers
12 views

How can I get letsencrypt working with docker-compose for existing website that already has fullchain.pem

I am working on getting Nginx to work with letsencrypt and docker-compose. That is, I am Dockerizing an existing website and running docker-compose up locally to verify everything is working. I am ...
1
vote
0answers
14 views

PHP My Admin + traefik - How to change default route?

I know - this is a pretty specific question - but I'm having trouble finding a solution for this specific problem: I would like to create a domain with the traeffic-router in the following format db....
0
votes
1answer
17 views

Change file permissions of wordpress with entrypoint.sh in docker image

I'm trying to change the file permission of wordpress files in docker image. I added entrypoint.sh in Dockerfile to build the image. Once I build and run the image, the webserver didn't run and it ...
1
vote
0answers
15 views

issues build node image with docker for a restfull node api

I have a restfull api made in node.js distributed with docker-compose but when I docker-compose up --build to redo the build I get the following error in console. I have deleted the docker containers, ...
-2
votes
0answers
12 views

Why do I need a container base image like BusyBox, Alpine and JDK If my host OS is Linux and It has JDK in it?

I am new to Docker technology and I did my research according to my question. There are few similar questions like these: What is the relationship between the docker host OS and the container base ...
-1
votes
0answers
10 views

Containerize my prometheus mysqld_exporter

Earlier I was using Linux shell file & systemd to download exporter from github and then add my configuration and run it. (code shared below) I want to convert this into a docker image so that I ...
0
votes
1answer
24 views

php and apache together in docker

first of all i pulled apache image: docker pull httpd then i ran my apache on 8080 port docker run -dit --name httpd -p 8080:80 -v "$PWD":/usr/local/apache2/htdocs/ httpd i opened 127.0.0.1:...

15 30 50 per page
1
2 3 4 5
5323