docs(fish): update abbreviations from Docker to Podman

This commit is contained in:
Lucien Cartier-Tilet 2024-02-07 06:33:11 +01:00
parent 5f70aed2aa
commit 4cc062cd0c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -317,23 +317,39 @@ Here is the corresponding fish configuration:
<<generate-abbr(table=abbr-cmake)>> <<generate-abbr(table=abbr-cmake)>>
#+END_SRC #+END_SRC
**** Docker **** Docker and Podman
And of course, when it comes to Docker Compose, I don't have time to write the # And of course, when it comes to Docker Compose, I don't have time to write the
full command, so I use these instead. # full command, so I use these instead. Actually, let me rephrase that: I used to use
I used to use Docker on my machine, but I switched to Podman. Still,
my muscle memory is really strong and I keep trying to type my old
Docker abbreviations. So, I keep them, but I also have a slight
variation for each one of them for Podman.
#+NAME: abbr-docker #+NAME: abbr-docker
| abbreviation | command | | abbreviation | command |
|--------------+------------------------------| |--------------+------------------------------|
| dc | docker-compose | | dc | podman-compose |
| dcb | docker-compose build | | dcb | podman-compose build |
| dcd | docker-compose down | | dcd | podman-compose down |
| dcl | docker-compose logs | | dcl | podman-compose logs |
| dclf | docker-compose logs -f | | dclf | podman-compose logs -f |
| dcp | docker-compose pull | | dcp | podman-compose pull |
| dcr | docker-compose run --rm | | dcr | podman-compose run --rm |
| dcu | docker-compose up | | dcu | podman-compose up |
| dcub | docker-compose up --build | | dcub | podman-compose up --build |
| dcud | docker-compose up -d | | dcud | podman-compose up -d |
| dcudb | docker-compose up -d --build | | dcudb | podman-compose up -d --build |
| pc | podman-compose |
| pcb | podman-compose build |
| pcd | podman-compose down |
| pcl | podman-compose logs |
| pclf | podman-compose logs -f |
| pcp | podman-compose pull |
| pcr | podman-compose run --rm |
| pcu | podman-compose up |
| pcub | podman-compose up --build |
| pcud | podman-compose up -d |
| pcudb | podman-compose up -d --build |
Here is the corresponding fish configuration: Here is the corresponding fish configuration:
#+BEGIN_SRC fish #+BEGIN_SRC fish