Docker delete image
                            

docker rmi -f registry: latest

class:Docker views:174

Docker delete container
                            

docker rm -f containerName/containerId

class:Docker views:210

Docker start container
                            

docker start containerName/containerId

class:Docker views:98

Docker restart container
                            

docker restart containerName/containerId

class:Docker views:170

docker set mongo memory
                            

docker run -d --name company-mongo -p 28018:27017 --restart=on-failure:3 -v /home/docker/mongo/db:/data/db --privileged=true mongo --wiredTigerCacheSizeGB 25

class:Docker views:129

Docker view container log
                            

docker logs -f --tail=100 containerName/containerId

class:Docker views:113

Docker closes the container
                            

docker stop containerName/containerId

class:Docker views:132

Docker view existing images
                            

docker images

class:Docker views:98

Docker view all containers
                            

docker ps -a

class:Docker views:219

Docker pulls an image from the public network
                            

docker pull images_name

class:Docker views:192

Linux copy remote server files to nas
                            

scp -r -v root@192.168.2.231:/home/docker/cmdhelp/test.tar Z:/cmdhelp/

class:Linux views:190

Linux delete empty directories
                            

rmdir -pv /root/newdir2/newdir3

class:Linux views:120

Linux searches for files ending in'.d'
                            

find /lib/dracut/ -name \*.d

class:Linux views:126

Linux switch directory
                            

cd /home

class:Linux views:121

MongoDB queries data for a field that is not empty
                            

db.neeq2008.find({"name":{"$ne":null}})

class:MongoDB views:116

Mysql delete database and delete table
                            

drop database db_name; drop table table_name;

class:Mysql views:113

MongoDB batch modify values
                            

db.getCollection('rule').update({"key":".$"},{$set:{"key":"\\\\.$"}},false, true)

class:MongoDB views:157

MongoDB deletes a field in the table
                            

db.cninfo2006.update({"fieldname":{$exists: true} },{$unset:{"fieldname":1}},false,true);

class:MongoDB views:129

Mysql create table
                            

use db_name; CREATE TABLE `tb`( `id` INT UNSIGNED AUTO_INCREMENT, `title` VARCHAR(100) NOT NULL, `author` VARCHAR(40) NOT NULL, `date` DATE, PRIMARY KEY ( `id` ) )ENGINE=InnoDB DEFAULT CHARSET=utf8;

class:Mysql views:123

Linux move files or folders
                            

mv -f -v test.zip test

class:Linux views:135

Mysql data table rename
                            

alter table tb rename tb1;

class:Mysql views:123

This platform is gradually under construction, more development orders are gradually included, any questions or Suggestions can be Contact Us