Skip to content

Commit cea3bc9

Browse files
committed
Update documentation
Signed-off-by: Bensuperpc <[email protected]>
1 parent d4424b8 commit cea3bc9

File tree

2 files changed

+101
-1
lines changed

2 files changed

+101
-1
lines changed

Commands.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**The commands here only concern my git repositories, there are over 200 scripts in the whole git repository**
2+
13

24
## archlinux
35

@@ -41,6 +43,19 @@ Scripts for C/C++ development and cross platform
4143
- [`dockcross-builder`](#dockcross-builder)
4244
- [`meson-builder`](#meson-builder)
4345

46+
## docker
47+
48+
- [`container-diff`](#container-diff)
49+
- [`docker-clean-all`](#docker-clean-all)
50+
- [`docker-clean`](#docker-clean)
51+
- [`docker-export`](#docker-export)
52+
- [`docker-import`](#docker-import)
53+
- [`docker-load`](#docker-load)
54+
- [`docker-pull`](#docker-pull)
55+
- [`docker-save`](#docker-save)
56+
- [`docker-volume-backup`](#docker-volume-backup)
57+
- [`docker-volume-restore`](#docker-volume-restore)
58+
4459
## file
4560

4661
For file management or backup
@@ -263,6 +278,91 @@ Dockcross images list:
263278
$ dockcross-builder <dockcross image> <CMake arguments>
264279
```
265280

281+
### container-diff
282+
283+
Display and analyse the differences between one or two containers:
284+
285+
- History
286+
- Files
287+
- apt & pip
288+
289+
```bash
290+
$ container-diff <img1> <img2>
291+
$ container-diff <img>
292+
```
293+
294+
### docker-clean-all
295+
296+
Clean ALL images and data in docker
297+
298+
```bash
299+
$ docker-clean-all
300+
```
301+
302+
### docker-clean
303+
304+
Clean old docker images (and without tags)
305+
306+
```bash
307+
$ docker-clean
308+
```
309+
310+
### docker-export
311+
312+
Export docker image (**without base image**)
313+
314+
```bash
315+
$ docker-export <image1> <image2> ...
316+
```
317+
318+
### docker-import
319+
320+
Import docker image (**without base image**)
321+
322+
```bash
323+
$ docker-import <image1> <image2> ...
324+
```
325+
326+
### docker-load
327+
328+
Load docker image (**with base image**)
329+
330+
```bash
331+
$ docker-load <image1> <image2> ...
332+
```
333+
334+
### docker-save
335+
336+
Export docker image (**with base image**)
337+
338+
```bash
339+
$ docker-save <image1> <image2> ...
340+
```
341+
342+
### docker-volume-backup
343+
344+
Export volume in tar archive
345+
346+
```bash
347+
$ docker-volume-backup <volume name>
348+
```
349+
350+
### docker-volume-restore
351+
352+
Import volume from tar archive
353+
354+
```bash
355+
$ docker-volume-restore <volume name>
356+
```
357+
358+
### docker-pull
359+
360+
Pull/Download docker image (alpine, ubuntu...)
361+
362+
```bash
363+
$ docker-pull
364+
```
365+
266366
### rsync-archive
267367

268368
Make perfect copy (backup) directory with rsync

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#//////////////////////////////////////////////////////////////
2121
PROJECT_NAME := scripts
2222
SHELL := bash
23-
VERSION := 1.3.2
23+
VERSION := 1.3.3
2424
RM := rm
2525

2626
all: install

0 commit comments

Comments
 (0)