All Questions
58
questions
0
votes
1
answer
57
views
Run Docker image without any root access
Think of yourself working on a managed Linux server, just using a normal user identity, without any way to use root at all.
Lazy and paranoid system administrators refuse to install any new packages.
...
0
votes
1
answer
95
views
Open shell of container when write start command
When i want to open shell of container when start container i get this error
I use this command :
docker start -i <Container name> sh
but get this error :
you cannot start and attach multiple ...
1
vote
1
answer
1k
views
ssh keys issue & how to mounts as readonly in devcontainer.json?
i have windows as the host, working with devcontainer without wsl, created ssh key with custom name, let say id_github. and managed to set ssh-agent auto run, and can use git fetch with ssh key with ...
1
vote
1
answer
2k
views
Why can two containers in host network namespace both bind to the same port?
I was working with Docker containers with --network host set and realized, that if I bind to a port in one container I can still start a second one which binds on the same port without any error ...
0
votes
0
answers
122
views
Exit from Docker Container when C/C++ build fails
I am wondering if is it normal to exit from Docker Container when my application has an error in the source code.
I inherited that Docker image (Ubuntu 18.04) from a previous colleague, I don't know ...
3
votes
0
answers
1k
views
What is the difference between flatpak and OCI container systems?
Doesn't Flatpak and and OCI container systems like Docker, Podman and similar systems
encapsulate and distribute programs and it's dependencies independent from a Linux systems package management and
...
0
votes
1
answer
562
views
The communication and relationship between container and host operating systems?
I often see the advantage of containerisation over virtual machines is that containers use the host operating system's kernel and what not, whereas each virtual machine requires it's own operating ...
0
votes
2
answers
355
views
A Docker OS container - why?
If Docker is an application container (unlike a system container like LxC), and is to be used for running only one app/service, I wonder what good is a full, Docker OS container, say, for Ubuntu?
Any ...
0
votes
1
answer
58
views
make a docker container from daemon
I'm using a microservices architecture. I already developed my daemon services (shell script). Now I want to run each of them in a docker container. I am new in docker, so I need some recommendations ...
1
vote
0
answers
27
views
How to make local testing environment for app in docker
I am trying to run an odoo application at work on our local network so that workers can start testing the modules we built. I am able to run and get the addons to run on the host computer but cannot ...
1
vote
1
answer
2k
views
traefik not redirecting to https
I'm trying to set up a home automation server, with docker, letsencrypt and traefik. Also using duckdns for ddns. I have some other containers like sickrage and so on on the same machine.
I've opened ...
1
vote
1
answer
2k
views
Docker for mac --privileged not working
I have a docker container run via the below command:
docker run --privileged=true -it --name mysql -p 3306:3306 centos:7 bash
When I tried to start the mysql daemon in the container, it still ...
0
votes
1
answer
643
views
How to write kubeadm 1.14.1 config file to set horizontal-pod-autoscaler-use-rest-clients to true
I'd like to create a kubeadm config file(kubeadm.yaml), which can be used for multiple nodes by kubeadm init --config kubeadm.yaml.
The problem I am facing now is that, I want to set horizontal-pod-...
2
votes
1
answer
1k
views
How do delete data from a certain Docker container?
I would like to delete a Docker container and all associated images, volumes (not the external volumes) etc.
I looked around web but all the things I found were about getting rid of everything ...
2
votes
0
answers
38
views
Dockerize a VPS / Digital Ocean droplet?
Is it possible to create a docker image of my Ubuntu VPS including all the environment/setup, for example Nginx, Mysql together with their configurations, so that I can have an image which I can even ...