Questions tagged [docker-machine]
docker-machine creates Docker Engines on your computer, on cloud providers, and/or in your data center, and then configures the Docker client to securely talk to them.
1,620
questions
-4
votes
1
answer
27
views
How to run docker-build.sh file in ubuntu? [closed]
I run below below command in terminal but i get command not found .
and my code is :
Notice : i have used chmod +x ... but it is not problem
1
vote
0
answers
25
views
Orchestration of ETL Pipeline in kubernetes
I am trying to deploy and orchestrate an ETL pipeline within Kubernetes.
I have a source file of xml documents from various sources that are processed and tagged with an NLP model. The model is ...
-1
votes
1
answer
30
views
Tensorflow does not utilize GPU on Gradient
I am currently training a CNN on Paperspace/Gradient Notebooks (Python 3.8.10, Tensorflow 2.7.0)
The training takes surprisingly long and it appears that >200% of the CPU is utilized but only 15-20%...
0
votes
0
answers
24
views
Gitlab-runner autoscale not registering
I am new Gitlab and following this guide:
https://docs.gitlab.com/runner/configuration/runner_autoscale_aws/
It might be out of date?
There are a couple of issues:
when idlecount is zero, the gitlab ...
0
votes
0
answers
7
views
How can access files of docker container to php storm in windows machine
How can access the docker dir to php storm wsl2 windows machine. Thanks for advance help
-3
votes
0
answers
22
views
Installation of Docker in another Drive
I want to install docker in my computer, but the installer, paste the files in C: . Exist any way to move that files to another drive?
0
votes
0
answers
21
views
Not able to start Docker after Windows shutdown
I just installed docker on my Windows 10 Single Home Language. On the first start it works fine but when I shutdown my system and then restart it again then the docker does not start.
I tried using ...
0
votes
0
answers
10
views
Docker compose containers cannot connect to each other through the network bridge
I am trying to run this docker compose file but my microservices cannot connect to eureka server through the docker network bridge. Does anyone know where is the problem? This is the docker compose ...
0
votes
1
answer
71
views
why we don't use CMD apt update instead of RUN apt update on Dockerfile?
why we don't use CMD apt update instead of RUN apt update on Dockerfile
we use RUN apt update for update an image this is for one time but why we don't use CMD apt update for update every container we ...
0
votes
1
answer
24
views
How to make any service running on docker host available to its containers?
I am trying to find a solution to make a process/service running on host available inside a container. Example a host is running Apache2 service which has 4 containers running. Just the way using ...
0
votes
0
answers
30
views
Docker Image with Different Arch Works Just Fine, Why?
I am trying to figure out why a Docker image that I built using my Intel Macbook works on my M1 Macbook (It does spit out a warning about the platform but still runs).
On my Intel machine, I created a ...
0
votes
0
answers
24
views
How to uninstall Docker-Sync on Windows
Downloaded Docker-Sync thinking I needed it. However it is stopping me from running a company application since it behaves different on a windows as opposed to a mac for this project. So have been ...
0
votes
0
answers
29
views
How to import locally running wordpress site to build custom container image and run it on docker
I installed WordPress on the local machine and then pulled the MySQL database on the docker and connected that MySQL with the WordPress running locally using the XAMPP software. This worked perfectly. ...
0
votes
1
answer
29
views
Dockerfile with extension
Is it possible to have multiple Dockerfile's with different extensions to link some services separately or in other use cases. For example:
\Dockerfile.web \Dockerfile.celery
and why?
0
votes
0
answers
31
views
mysql docker container to run a parallelized optimization with optuna
I'm trying to use mysql docker container to run a parallelized optimization with optuna. The mysql docker container was run using:
docker run --name=user_mysql_1 --env="MYSQL_ROOT_PASSWORD=...
17
votes
6
answers
2k
views
GitLab Runner suddenly fails to run jobs using Docker Machine and AWS Autoscaling
I use GitLab Runner for running CI jobs on AWS EC2 spot instances, using its autoscaling feature with Docker Machine.
All of a sudden, today GitLab CI failed to run jobs and shows me the following job ...
2
votes
1
answer
491
views
ERROR Aborting because rootful Docker (/var/run/docker.sock) is running
I want to setup rootless docker based on docker official documentation here. All docker service has been stopped, however when running below command:
dockerd-rootless-setuptool.sh install
I got below ...
0
votes
0
answers
150
views
I could not connect to docker daemon from remote in ubuntu 20.04
I want to run docker daemon for remote connection without any TLS verification. So based on this I edit file /lib/systemd/system/docker.service and add two below lines:
ExecStart=
ExecStart=/usr/bin/...
1
vote
0
answers
30
views
docker container ping other machine in host network
I have used avahi-daemon package on my linux machine which is acting as a server. I have another machine(downstream device) which is able to ping the server with command ping serverhostname.local.
I'm ...
0
votes
1
answer
23
views
Docker-Machine,We can’t connect to the server at docker_machine_ip
I keep following along with the book Microservices with Docker, Flask and React form testdriven.io.
After creating and configuring a Container with flask, Postgres and running the following command ...
-2
votes
3
answers
393
views
how to correctly copy requirements.txt for docker file
This is how my current folder structure looks like:
I am present in the FinTechExplained_Python_Docker folder. My Dockerfile looks like this:
FROM python:3.8-slim-buster
WORKDIR /src
COPY ...
0
votes
1
answer
463
views
zsh: command not found: docker exec -it
I am getting following error while executing docker command docker exec -it container_name bash
zsh: command not found: docker exec -it
I have tried bash as well, still getting the same error
bash: ...
0
votes
0
answers
18
views
Is there any way how to load environemnt variable from remote docker machine and not the local?
We have docker machine created via:
docker-machine create --driver generic --generic-ip-address=....
when restarting containers from this machine, we're doing that from our local development machines ...
-1
votes
1
answer
172
views
Not able to start docker daemon in Debian OS
I am trying to install docker in Debian OS. Successfully installed it but I am not able to PULL/PUSH docker images.
I am getting the below error.
docker: Cannot connect to the Docker daemon at unix:///...
0
votes
0
answers
32
views
How do I push a docker tar image onto my docker registry using a C++ library or an API [duplicate]
I have a docker tar image built on my server and I want to move it to another machine where docker engine isn't installed. Is there any API I could use or a library I could install through my C++ code ...
0
votes
0
answers
60
views
Fetching UDP stream in docker container
I have a docker container running ffmpeg. My host machine is a windows. I am creating a udp stream using VLC from my host machine. I want to transcode that udp stream in my docker container. Is it ...
0
votes
1
answer
109
views
how to open a file and read contents inside the Dockerfile
I have a docker file where i need to open a file and get the data .If the data is dev, i am passing a argument(dev application) and if it is not passing another argument(prod application)to the sh ...
0
votes
0
answers
71
views
Docker node and postgres in 1 container
I want to deploy my app on heroku so I wont be able to use more than one container. I want to run a postgres sql server and a node webserver at the same time in one container.
I tried this:
FROM node:...
0
votes
1
answer
145
views
Couldn't access mongo-express from Docker
I am trying to carry out some experiments with Docker, MongoDB, and mongo-express.
Here was what I did:
docker network create my-network
docker run -d -p 27017:27017 --network my-network --name my-...
-1
votes
1
answer
104
views
using metasploit framework in docker
To use metasploit framework in docker i should use this command:
docker pull metasploitframework/metasploit-framework
and for using ubuntu in docker i should use this command:
docker pull ubuntu
I ...
0
votes
0
answers
138
views
How to select the Hyper-V virtual switch for a Docker container?
I have a Docker container that I would like to use a 2nd NIC on my windows server 2019. This second nic is connected to "DMZ_Switch" (in the virtual switch manager) however I cannot get my ...
1
vote
2
answers
80
views
How to add "ProcessLabel" in a docker container
For my Docker container Selinux is enabled and set to "Enforcing" mode.
We have 2 container running in our system. But for one container both "MountLabel" and "ProcessLabel&...
-1
votes
1
answer
551
views
Can't access Docker container web address (172.17.0.2) from windows
i'm using docker desktop , I have runned prometheus as a container :
the commande docker inspect is showing that this container is running on the gateway 172.17.0.2 on port 9090 .
"Networks&...
0
votes
0
answers
57
views
Not able to register node
I am using below given docker-compose file for setting up the selenium hub-node on my windows 10 machine but I am getting error messages as below:
Couldn't register this node: Error sending the ...
-1
votes
1
answer
73
views
Several Docker Container Id originating from same docker image
Why there is different container Id originating from the same Docker Image from the same command path as we can see in the picture?
What can be the specific case where I need several containers from ...
0
votes
1
answer
136
views
Connect pyspark Docker container to Visual Studio Code
I am new to docker and pyspark and I have pulled imaged from
https://hub.docker.com/r/jupyter/pyspark-notebook.
Now I want to develop pyspark code using visual studio code. How do I connect these two ...
1
vote
1
answer
75
views
Getting Docker Dev Engine to work with VS Code
whenever I run the dev engine, I get the following error at the end of the install:
chown: invalid group: ‘root:docker’
WARNING: Could not change owner for docker socket in container : exit code 1
...
0
votes
0
answers
48
views
Azure AutoML remote_run status on terminal (Ubuntu - Bash)
UseCase - Running Azure AutoML experiment for time series forecast.
How are script run:
Script is run via CLI or AzureDevops az ml run submit-script -g ResourceGroupName -e ExperimentName -w ...
0
votes
0
answers
71
views
Stop the docker container when docker host reboot and restart the docker container only when container crashed due to error
Scenario :
Stop the docker container when docker host reboot and restart the docker container only when container crashed due to error.
None of the existing restart_policy works for me for above ...
-1
votes
1
answer
451
views
Don't restart docker container on host reboot. Restart the container only when it crashed due to error
I want to restart the docker container only when container crashed due to error. And don't want to restart the container if host reboots.
Which restart_policy will work for the above case?
1
vote
0
answers
29
views
Are there differences with setting up inbound ports on Docker vs Docker Desktop for Mac [duplicate]
Docker Desktop is no longer allowed at my corporate job. Because I was having trouble setting up Docker on my company computer I developed the server on my personal laptop. My personal laptop was ...
0
votes
0
answers
166
views
Docker command is working but docker compose command not working | Windows 10 Pro , 64 bit
I have installed docker desktop application through "Docker Desktop Installer" exe file.
Docker application is working from shortcut icon also command docker run hello-world working fine , ...
0
votes
1
answer
49
views
Explain Docker in simple english
Hi I have been having difficulty in understanding docker, I have tried all I can and read a lot of stuff. But still its unclear. Thanks.
I have tried youtube and other sources, I really want to know.
1
vote
0
answers
155
views
How to connect to existing Docker Machine (Now Deprecated) Using Docker Desktop
I want to connect (ssh) to an existing docker-machine deployed on AWS EC2. Sadly, the docker-machine feature has now been deprecated (in 2022), and the docs point towards using the Docker Desktop.
I ...
0
votes
0
answers
125
views
Docker-compose wait for another container
I am here in the docker world and I am trying to connect 2 dockers toughener. The docker X and docker Y. The problem is that one of them is a database and I need to wait till is fully loaded because I ...
0
votes
0
answers
146
views
How can I pass the ip address of a docker container as an environment variable to other docker containers in the same bridge network?
I have three micro-services, A, B, and C. They all talk with each other. I am using docker-compose to build their containers and connect them using bridge-network. In this network however, the ...
0
votes
0
answers
27
views
Docker-compose can not connected to the database
I am new to docker so sorry in advance if this question is going to be stupid or something.
I have a docker-compose.yaml which looks like this:
version: "3.5"
services:
platform:
image:...
0
votes
0
answers
172
views
Docker container built on intel and to run on ARM
I have a Docker container created on intel pc but I have the necessity to run on ARM cpu.
Is there a system in order to convert this container or to add a layer in order to bypass this problem?
1
vote
2
answers
53
views
How to connect separate docker containers?
I have built three docker images of node, elastic search, and mongo. Then pushed those to docker hub. after pulling those images, I am running them using the command docker run. They are running ...
0
votes
1
answer
82
views
Is it safe to delete files in /mnt/docker/overlay2? [duplicate]
I am facing space issue in server due to docker overlay2 folder.It is taking space around 72GB.Many applications are running in this docker.Can I delete files which is in overlay2 folder?If I delete ...