diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a21237c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM alpine + +RUN set -ex; \ + apk update --no-cache; \ + apk add --no-cache -t .net-tools \ + bash bash-completion bind-tools busybox-extras coreutils iproute2 iputils mtr net-tools \ + netcat-openbsd tcpdump whois + +ENTRYPOINT ["/bin/bash"] diff --git a/README.md b/README.md index 06ef962..268ea3c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # docker-alpine-net-tools -A docker image that contains basic network tools, based on `alpine:latest`. \ No newline at end of file +A docker image that contains basic network tools, based on `alpine:latest`. + +## Usage + +```bash +docker pull kanna5/alpine:net-tools + +docker run -it kanna5/alpine:net-tools +```