How to rename the docker container name
In the previous article, we introduced how to rename the docker image name. This article will show you how to rename the docker container. List...
How to rename the docker image name
Docker image rename,
docker tag: Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE;
docker rmi: remove the SOURCE_IMAGE image....
Docker common commands list with examples
Docker common commands: Image repository commands, Local image manage commands, Container manage commands, Container lifecycle manage commands ......
How to stop / remove all containers of docker
How to stop/remove all containers of docker? View all container IDs:~ docker ps -a -q ; Stop all containers:~ docker stop $(docker ps -a -q);...
How to run Ubuntu system in docker
How to use docker to run the system? This article shares with you examples of searching image, starting image and building container, starting container, closing...
grep command tutorial in linux/unix with examples and use cases
linux grep command – print lines that match patterns Linux grep searches for PATTERNS in each FILE. PATTERNS is one or patterns separated by newline...
Printenv command tutorial in linux/unix with examples and use cases
linux printenv command - Print the values of the specified environment VARIABLE (s). If no VARIABLE is specified, print name and value pairs for ...
env command tutorial in linux/unix with examples and use cases
The env command executes another program after modifying the environment as specified. When the env is used without parameters, it prints a list of current...
tee command tutorial in linux/unix with examples and use cases
linux tee command - read from standard input and write to standard output and files. Copy standard input to each FILE, and also to standard...
How to replace strings in files in the Linux command line
There are many ways to replace strings in Linux. You can use vim/vi to edit files, you can also use the sed command to replace,...
more command tutorial in linux/unix with examples and use cases
linux more command - a filter for paging through text one screenful at a time. Examples: Display file contents starting at line 20, search for...
How to run a script in the background in Linux
This article shares how to run scripts in the background of linux, and how to use the shell's built-in commands to control scripts during running...
SheBang (#!) in linux/unix with examples and use cases
The script shebang (#!) Is explained in linux / unix. What is shebang, what is the shebang syntax, why should shebang be used, and shebang...
which command tutorial in linux/unix with examples and use cases
Linux which command does this by searching the PATH for executable files matching the names of the arguments. It returns the...
Create a file in linux, you can do this!
Create a file in linux, Examples:
use the linux touch command create an empty file;
use the linux vim/vi command;
use the linux cp...