Skip to content

Tag: docker

Docker: attach to a specific bash

Lets say I have a container running and I do Then I detach from this container and want to attach again If I do this I wont go back to that bash that I created. Instead I will go to the main process. How can I attach to that bash again ? Answer You can’t. While the docker exec documentation

Docker difference docker run[…] docker container run […]

Is it difference between this commands? In addition then why in second command uses -i(Interactive) and -t(TTY)? Answer docker container run is equivalent to docker run, as well as nearly all docker container commands can be found without container subset. About -it. t creates console (tty), and i forwards yo…

How to get source code from git repo using DockerFile

I have Git and Docker on a remote Linux machine. The source code of my project is in a bare repo. I need a way of making the source code from this repo available to Docker during the build process. Below is what I have now (which is basically the default template in VS 2017 for a Docker ASP.NET Core

Docker install on Linux Mint 19 Tara [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Closed 4 years ago. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-top…

Add Carbone to Docker image

I have installed Carbone on my local Linux machine using the following command and it is working properly. Now, I need to add carbone in my docker image, but I don’t know how to add it to the image. Should I add the npm install command to DockerFile or add it to package.json? I got the following error i…