HUB
Sign inSign up
devops-tools logo

bit3/devops-tools

By bit3

•Updated 19 days ago

Ultra lightweight docker image for devops running in a fancy `oh-my-zsh` shell.

Image
0

1M+

bit3/devops-tools repository overview

⁠devops tools

repository pipeline status image layers Docker Stars Docker Pulls

Ultra lightweight docker image for devops - based on alpine linux - running in a fancy oh-my-zsh⁠ shell.

⁠Packages

  • bash
  • bind-tools
  • bzip2
  • curl
  • git
  • grep
  • gzip
  • jq
  • openssh
  • rsync
  • sqlite
  • tar
  • tcpdump
  • vim
  • wget
  • xmlstarlet
  • xz
  • zsh

You need another package? Let me know, send an e-mail⁠ or create a ticket on gitlab.com/bit3/docker-devops-tools⁠.

⁠Usage examples

⁠Run a shell

Launch a shell with the volumes of another container to view, organize, and edit the files.

docker run --rm -it \
  --volumes-from another-container \
  bit3/devops-tools

⁠rsync files

Sync the files between two containers.

docker run --rm -it \
  --volume volume_a:/volume_a \
  --volume volume_b:/volume_b \
  bit3/devops-tools rsync -av --delete /volume_a/ /volume_b/  

⁠Create backup of volume

For example, to back up the database files.

docker run --rm -it \
  --volume /var/backup:/backup \
  --volumes-from any-service \
  bit3/devops-tools tar -cJf /backup/any-service-backup.tar.xz -C /path/to/files/to/backup .

⁠Restore volume from backup

docker run --rm -it \
  --volume /var/backup:/backup \
  --volumes-from any-service \
  bit3/devops-tools tar -xJf /backup/any-service-backup.tar.xz -C /path/to/files/to/restore
Tag summary
Recent tags
Content type
Image
Digest
sha256:1fe2387a4…
Size
34.7 MB
Last updated
19 days ago
docker pull bit3/devops-tools:latest