Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

DockLock helps to created protected images, volume and containers to prevent accidental deletions.

Notifications You must be signed in to change notification settings

humblelad/DockerLock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DockerLock +

Dockerlock

DockLock helps to created protected images, volume, networks and containers to prevent accidental deletions.

Docker by default doesn't have existing feature to prevent accidental removals. So this script creates a wrapper around docker to have this functionality.

Usage: Ensure you have docker running and jq also installed.

The protect.json containers the whitelist for volumes , containers , networks and images.

Ensure you source ~/.zshrc or ~/.bashrc after install / uninstall or the feature/ docker may break.

Install Script

chmod +x install.sh ./install.sh

Uninstall Script

Run the uninstall.sh script which gets created.

About

DockLock helps to created protected images, volume and containers to prevent accidental deletions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages