python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to automatically execute a command from a docker container on boot the container from the container's shell?
I have a container named test. I want to be able to start the container on Ubuntu boot which I think I can do with the always command.
Then I want to run one command when the container boots. For inst...
Tawfiq Chowdhury
Votes: 0
Answers: 1
Printing command line args (java program) when using docker run
I have a java program which prints command line arguments
public class Sample {
public static void main(String[] args) {
System.out.println(args[0]);
System.out.println(args[1]);...
John
Votes: 0
Answers: 1
Why does using a blank/empty volume in docker-compose.yml allow persistence but using a relative path fails (eg jenkins gui unavailable)?
Questions:
Why does a relative host volume path (i.e., ./jenkins_home:...) prevent jenkins from serving it's GUI yet an empty volume path allows jenkins to serve it's GUI?
Where is the aliased host v...

surajs02
Votes: 0
Answers: 1
unable to run docker container docker4dotnet/nanoserver
Learning docker following a course in udemy. i have all the prerequisites like docker desktop and switched to windows container. While trying to run a container using
docker container run docker4dotne...
venkatesh
Votes: 0
Answers: 1