Init
This commit is contained in:
commit
0f26e0e51c
32
byobu.md
Executable file
32
byobu.md
Executable file
@ -0,0 +1,32 @@
|
||||
|
||||
Create
|
||||
======
|
||||
F2 Create a new tab
|
||||
|
||||
Shift-F2 Split horizontally ---
|
||||
Ctrl-F2 Split vertically |
|
||||
|
||||
|
||||
Move
|
||||
====
|
||||
Alt-←→ Change tab
|
||||
Alt-↓↑ Change session
|
||||
Shift-←→↓↑ Change split
|
||||
Alt-↟↡ Move in history
|
||||
|
||||
|
||||
Rename
|
||||
======
|
||||
F8 Rename tab
|
||||
Ctrl-F8 Rename session
|
||||
|
||||
|
||||
Delete
|
||||
======
|
||||
Ctrl-F6 Delete split in focus (delete tab if no split)
|
||||
|
||||
|
||||
Other
|
||||
=====
|
||||
F6 Detach from session
|
||||
F1 Help
|
2
commandes.md
Executable file
2
commandes.md
Executable file
@ -0,0 +1,2 @@
|
||||
convert -resize 50% image.jpg image.jpg
|
||||
|
42
docker.md
Executable file
42
docker.md
Executable file
@ -0,0 +1,42 @@
|
||||
|
||||
|
||||
docker build -t project/name .
|
||||
|
||||
Interactif:
|
||||
|
||||
docker run -it project/name bash
|
||||
|
||||
|
||||
Connection to an running container:
|
||||
|
||||
docker exec -it project/name bash
|
||||
|
||||
|
||||
Inspection de docker
|
||||
--------------------
|
||||
dive project/name (apt install dive)
|
||||
|
||||
|
||||
|
||||
|
||||
docker swarm
|
||||
------------
|
||||
docker swarm init
|
||||
- see nodes: `docker node ls`
|
||||
- see token: `docker swarm join-token worker`
|
||||
|
||||
- Start a stack: `docker stack deploy --compose-file docker-compose.yml easymaint`
|
||||
- See stack: `docker stack services easymaint`
|
||||
|
||||
|
||||
- Stop the stack: `docker stack rm easymaint`
|
||||
|
||||
|
||||
|
||||
docker context
|
||||
--------------
|
||||
|
||||
docker context create gulplug --docker "host=ssh://root@51.77.195.234"
|
||||
docker context ls
|
||||
docker context use gulplug
|
||||
docker ps
|
Loading…
Reference in New Issue
Block a user