Article Tags
Home Technical Articles Development Tools
Will the container be deleted after restarting the docker service?

Will the container be deleted after restarting the docker service?

In docker, the container will not be deleted after restarting the docker service, but the container will stop running. After restarting the docker process, all docker containers running on the server will exit and will not be deleted. You can use the "docker ps -a" command View all containers.

Jan 17, 2022 am 11:05 AM
docker
How to modify history in git

How to modify history in git

Method: 1. Use the "git commit --amend" command to modify the history record once; 2. Use the "git rebase -i specify commit number" command to modify multiple history records; 3. Use the "git filter-branch --filer command to modify range" command to rewrite history.

Jan 14, 2022 pm 02:19 PM
git
How to modify tomcat port number in linux

How to modify tomcat port number in linux

Method: 1. Use the vim command to enter and edit the "server.xml" file. The syntax is "vim/installation path/tomcat full name/conf/server.xml"; 2. Enter "/8080" at the bottom to find the specified port number. Modify; 3. After the modification is completed, enter ":wq" to save and exit.

Jan 13, 2022 pm 03:55 PM
linux
How to modify mysql time

How to modify mysql time

Method: 1. Use the "sudo cat my.cnf" command to view the "my.cnf" file; 2. Use the "vim mysqld.cnf" command to edit the file content and add "default-time_zone = '+8:00' to the file. "statement; 3. Restart mysql to make the new time take effect.

Jan 12, 2022 am 11:04 AM
mysql
What is the command to install vim on linux?

What is the command to install vim on linux?

In Linux, you can use the yum command to install the vim editor. This command is used to find, install or delete the specified software package. When the parameter is set to "-y", it means that the installation process prompts to select all "yes", and the syntax is: "yum -y install vim".

Jan 06, 2022 am 10:48 AM
linux
Organize a list of commonly used Linux commands (summary sharing)

Organize a list of commonly used Linux commands (summary sharing)

This article brings you a basic and sufficient Linux command. It will cover various commands used in the series of blog building articles, which is convenient for query and learning. I hope it will be helpful to everyone.

Jan 05, 2022 pm 05:53 PM
linux
What is the command to exit without saving in Linux?

What is the command to exit without saving in Linux?

In Linux, the command to exit without saving is "q!"; this command can be entered after the colon that appears when editing a file to exit insert mode, indicating a forced exit and not storing the file, where "!" has "force" in it. mean.

Jan 04, 2022 am 11:25 AM
linux
How to turn off selinux in linux

How to turn off selinux in linux

Method: 1. Use the "vim /etc/sysconfig/selinux" command to open the selinux file; 2. Modify "SELINUX=enforcing" in the file to "SELINUX=disabled"; 3. After saving the modification, restart.

Dec 31, 2021 pm 05:15 PM
linux
How to permanently change the host name in Linux

How to permanently change the host name in Linux

Method: 1. Use the vim command to open the network file, the syntax is "vim /etc/sysconfig/network"; 2. Modify the value of the "HOSTNAME" item in the file, that is, modify the host name; 3. Use "wq" to save the changes and Exit; 4. Restart.

Dec 31, 2021 pm 04:44 PM
linux
What is the difference between nodejs and websocket

What is the difference between nodejs and websocket

Difference: 1. nodejs is a JS running environment, while WebSocket is a communication protocol; 2. nodejs is used to easily build network applications with fast response and easy expansion, while WebSocket can make data between the client and the server Exchange becomes simpler, allowing the server to actively push data to the client.

Dec 31, 2021 am 11:28 AM
nodejs websocket
How to solve the error when starting docker

How to solve the error when starting docker

Solution to the error when starting docker: 1. Open docker and add the content "OPTIONS="--selinux-enabled...""; 2. Clear the filter table of iptables; 3. Execute the "docker-storage-setup" command etc.

Dec 30, 2021 am 11:14 AM
docker
What is vi in ​​linux

What is vi in ​​linux

vi in ​​linux is an editor in text mode. It can only edit characters and cannot typeset fonts and paragraphs. The vi editor can both create new files and edit files. There are three command modes: Command, Insert and Visual.

Dec 23, 2021 pm 04:21 PM
linux
How to query the modification time of a file in Linux

How to query the modification time of a file in Linux

How to query the file modification time in Linux: 1. Execute the "stat filename" command, and the "Modify Time" item of the output result is the modification time; 2. Execute the "ls -l filename" command, and the output result is the modification time.

Dec 21, 2021 pm 05:32 PM
linux 文件 修改时间
How to modify file content in linux

How to modify file content in linux

Modification method: 1. Use the "vim file name" command to enter the specified file; 2. Find the location of the content to be modified; 3. After finding the location, press the "i" key on the keyboard to enter the editing state and modify the file content; 4. Modify After that, press the ESC key to exit the editing state and save the changes.

Dec 21, 2021 pm 04:51 PM
linux 修改文件内容

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use