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...
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,...
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...
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...
How to merge/convert multiple files into one file in linux
Merge/convert multiple files in linux.Examples:
Merge multiple files into one file,
sort and deduplicate multiple files and import one file,
sort multiple files and export duplicate content to...
How to print tree directory structure in linux/unix
Print tree directory structure in linux. Print the tree directory structure using the tree command;
Print multilevel tree directory structure using the find and awk combined...
How to display the first line and the last few lines of a file in Linux
In linux, print the first line and the last few lines of the file. Print the first line and the last 10 lines of the...
How to count the number of lines of file in Linux
In Linux, Count the total lines number,Count the total number of non repeating lines,Count the total number of duplicate lines,Count the number of times specific...
How to use top sort by cpu and by memory in linux
top sort in linux. examples: top sort by CPU in linux, top sort by memory in linux, top sort by pid in linux, top command...
How to support uploading webp format image files in wordpress
webp upload in wordpress: In function.php, add the add_filter function to support webp format image upload, and add the preview function in the media library....
How to display images in wordpress after changing a new domain
WordPress domain replacement method:
1. Change "WordPress Address (URL)" and "Site Address (URL)" in wp_options;
2.Replace domain names in wp_posts table....