Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Docker - Container is not running

docker pull debian

docker run -t -d --name my_debian debian
e7672d54b0c2

docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
e7672d54b0c2        debian              "bash"              3 minutes ago       Up 3 minutes                            my_debian

#now you can execute command on the container
docker exec -it my_debian bash
root@e7672d54b0c2:/# 
Comment

PREVIOUS NEXT
Code Example
Shell :: clipboard app for ubuntu 
Shell :: docker run command on container 
Shell :: move all files from one directory to another 
Shell :: install specific webpack version 
Shell :: Git - delete specific branch 
Shell :: doc.find is not a function 
Shell :: master to main github 
Shell :: generate component angular without folder 
Shell :: bash get domain from url 
Shell :: how t oadd ssl to a subdomain in nginx 
Shell :: git add file in ignored folder 
Shell :: How to find a process running on a linux machine from terminal 
Shell :: linux change user password 
Shell :: pipi ungrade 
Shell :: how to print new line in shell script 
Shell :: python convert excel to html table 
Shell :: bash sum numbers 
Shell :: hard vs soft links linux 
Shell :: bash set var if not set 
Shell :: Wine Mono is not installed 
Shell :: gitlab runner npm command not found 
Shell :: online shell script compiler 
Shell :: how to kill a service based on port number on mac 
Shell :: Push an existing repository to an empty github repository 
Shell :: test server download speed 
Shell :: umask linux 
Shell :: verify hash windows 10 
Shell :: how to check process id in linux 
Shell :: untrack lfs file 
Shell :: terminal read json file 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =