Docker delete image
                            

docker rmi -f registry: latest

class:Docker views:140

Docker delete container
                            

docker rm -f containerName/containerId

class:Docker views:177

Docker restart container
                            

docker restart containerName/containerId

class:Docker views:135

Docker start container
                            

docker start containerName/containerId

class:Docker views:85

Docker closes the container
                            

docker stop containerName/containerId

class:Docker views:115

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:108

Docker view container log
                            

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

class:Docker views:98

Docker view existing images
                            

docker images

class:Docker views:83

Docker view all containers
                            

docker ps -a

class:Docker views:172

Docker pulls an image from the public network
                            

docker pull images_name

class:Docker views:155

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:153

MongoDB queries data for a field that is not empty
                            

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

class:MongoDB views:104

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:109

Linux move files or folders
                            

mv -f -v test.zip test

class:Linux views:115

Mysql data table rename
                            

alter table tb rename tb1;

class:Mysql views:111

Mysql delete database and delete table
                            

drop database db_name; drop table table_name;

class:Mysql views:101

Linux delete empty directories
                            

rmdir -pv /root/newdir2/newdir3

class:Linux views:109

Linux searches for files ending in'.d'
                            

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

class:Linux views:114

MongoDB batch modify values
                            

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

class:MongoDB views:135

Linux switch directory
                            

cd /home

class:Linux views:110

MongoDB deletes a field in the table
                            

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

class:MongoDB views:110

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