加载中
Remove all stopped containers

Remove all stopped containers docker rm $(docker ps --filter status=exited -q) Or docker ps --filter status=exited -q | xargs docker rm......

2022/01/10 11:29
40
How remove docker image/tag from Docker Hub

In daily development work, we often hope to quickly clean the problematic image from the docker hub, but manual operation is very time-consuming and laborious, so is there a goo...

2020/04/20 18:06
195
zookeeper for docker

安装   主机上的zookeeper服务是基于docker安装的,具体安装脚本如下: docker run --detach \ --restart always \ --name zookeeper \ --publish 2181:2181 \ zookeeper:3.5.7 重启 dock...

2020/03/11 10:07
104
configuration docker completion for Linux

lwk@qwfys:~$ sudo wget -c -O /etc/bash_completion.d/docker.sh https://github.com/docker/docker-ce/tree/master/components/cli/contrib/completion/bash/docker [sudo] password for l...

redis for docker

create contains for redis docker run --detach \ --restart always \ --name redis-alpine \ --publish 16379:6379 \ --volume /data/docker/redis/data:/data \ --volume /usr/share/zone...

Docker镜像加速器

  编辑docker配置文件/etc/docker/daemon.json,具体如下: sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://we7rwaj4.mirror.al...

2019/10/25 01:06
95
Docker stop停止/remove删除所有容器

$ docker ps // 查看所有正在运行容器 $ docker stop containerId // containerId 是容器的ID $ docker ps -a // 查看所有容器 $ docker ps -a -q // 查看所有容器ID $ docker stop $(docker...

2019/08/02 09:24
192
docker 如何批量删除镜像

删除异常停止的docker容器 docker rm docker ps -a | grep Exited | awk '{print $1}' 删除名称或标签为none的镜像 docker rmi -f docker images | grep '' | awk '{print $3}' ......

2019/08/02 09:18
182

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部