August 2018
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

August 2018
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Detailed Docker container common operations

First, start the container

There are two ways to start a container. One is to create a new container based on the image and start, and the other is to restart the container in the terminated state. Because Docker’s containers are too lightweight, users often delete and recreate containers at any time.

New and start

[…]

EC2 volume size incorrect

Expanding the Storage Space of an EBS Volume on Linux

[root@data ~]# df -TH Filesystem Type Size Used Avail Use% Mounted on /dev/xvda1 xfs 859G 818G 42G 96% / devtmpfs devtmpfs 4.1G 0 4.1G 0% /dev tmpfs tmpfs 4.2G 0 4.2G 0% /dev/shm tmpfs tmpfs 4.2G 26M 4.1G 1% /run tmpfs tmpfs 4.2G 0 4.2G […]

rsync increment data

command will copy increment data and keep it in sync with remote server.

It will copy only incremental data. It will delete if any data deleted from source. It will copy again from source if any data deleted at destination. basically this command will keep the both environment in sync.

rsync -avWe ssh –delete-before (source) […]