Docker 基本命令

docker images
docker login --username=user@qq.com registry.cn-hangzhou.aliyuncs.com
docker tag 23d07257d553 registry.cn-hangzhou.aliyuncs.com/user/awvs-nessus:latest
docker push registry.cn-hangzhou.aliyuncs.com/user/awvs-nessus:latest

Docker 命令

/usr/syno/sbin/synoservice --restart pkgctl-Docker
docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
docker commit id name
docker-compose up -d
docker exec -it 容器:/bin/bash
docker logs 容器
docker image puxxx -af # 你tab一下
docker image inxxx | grep Id
RUN /usr/local/bin/docker-php-source extract && \
tar zxvf /tmp/extensions/xdebug-2.5.5.tgz -C /usr/src/php/ext && \
/usr/local/bin/docker-php-ext-configure xdebug-2.5.5 && \
/usr/local/bin/docker-php-ext-install xdebug-2.5.5 && \
apk update && \
/usr/local/bin/docker-php-ext-enable xdebug