Zum Inhalt springen
Developer Snippets

Developer Snippets

My little Snippet library.

Neueste Beiträge

  • Delete *.log files older then 30 days
  • Find Files by Age and copy them to another directory
  • Search with grep and zip file results
  • Search for a string in files and save the result
  • Zip files and exclude subdirectories

Kategorien

  • .git
  • #!/bin/bash
  • Allgemein
  • Docker
  • HTML5
  • Linux
  • Odoo
  • PHP
  • Terminal / Shell / Cli
  • Windows

Kategorie: Docker

Docker commands to clear some things

To clear containers:

docker rm -f $(docker ps -a -q)

To clear images:

docker rmi -f $(docker images -a -q)

To clear volumes:

docker volume rm $(docker volume ls -q)

To clear networks:

docker network rm $(docker network ls | tail -n+2 | awk '{if($2 !~ /bridge|none|host/){ print $1 }}')

Veröffentlicht am 13. Februar 2019Kategorien DockerSchlagwörter clear, containers, Docker, images, network, remove, volumes

Docker Config Generator

A quick way to quickly click together a virtual system. One must not deviate here only from the norm, but in any case a good beginning.

>> Docker Config Generator <<

Veröffentlicht am 12. Juni 201812. Juni 2018Kategorien DockerSchlagwörter Config, Docker, Generator, Virtualization
Stolz präsentiert von WordPress