DockDuck adds a development kit layer to a specific docker image, such as starting openssh-server and installing gdbserver, and provides some scripts as shortcuts for using docker.
It has the following features:
- Support adding development kits to docker images to generate dock-duck images.
- Support logging into dock-duck container through SSH protocol.
- Support logging into dock-duck containers as the same user as the host.
- Provide dock-duck tools to use dock-duck images quickly.
- Docker
- NVIDIA Docker (may be required)
- UNIX-like OS
- GNU Bash
- GNU Grep
- GNU sed
Download suitable releases for your OS (currently only supports UNIX-like OS).
There are some pre-built dock-duck images in the directory duruyao/vimicro-ai.
Modify the Dockerfile according to your needs before building.
bash build.sh [--name NEW_NAME] IMAGE
bash install.sh [DIRECTORT]
Reload Bash configuration.
source ~/.bashrc
Type dk -h
or dk --help
to show usage:
Usage: dk [OPTIONS] [COMMAND]
Tools for using dock-duck containers
Options:
-h, --help Display this help message
-v, --version Print version information and quit
Commands:
attach Attach to a running dock-duck container
detach Launch a new dock-duck container in the background
images List images
ps List running dock-duck containers
run Run a command in a new dock-duck container
stop Stop one or more running containers
uninstall Uninstall dock-duck tools
update Update dock-duck tools
Run 'dk COMMAND --help' for more information on a command
See more about DockDuck at https://github.com/duruyao/DockDuck
dk update
dk uninstall