$ docker pull postgres:13.0 13.0: Pulling from library/postgres bb79b6b2107f: Already exists e3dc51fa2b56: Pull complete f213b6f96d81: Pull complete 2780ac832fde: Pull complete ae5cee1a3f12: Pull complete 95db3c06319e: Pull complete 475ca72764d5: Pull complete 8d602872ecae: Pull compl...
Fixed a bug that prevented php composer or postgres to start as non root user. Fixes docker/for-mac#7415. Fixed a bug that could cause file changed on the host to appear truncated. Fixes docker/for-mac#7438. For Windows New installations of Docker Desktop for Windows now require a Windows...
镜像访问地址形式 registry.devops.com/demo/hello:latest,若没有前面的url地址,则默认寻找Docker Hub中的镜像,若没有tag标签,则使用latest作为标签。 比如,docker pull nginx,会被解析成docker.io/library/nginx:latest 公有的仓库中,一般存在这么几类镜像 操作系统基础镜像(centos,ubuntu,suse,alpine) 中间件(ngin...
docker exec -it psql -Upostgres ... 我们可以一起看下 exec 命令的这两个参数,自然就差不多理解了。 编号 参数 解释说明 1 -i/-interactive 即使没有附加也保持 STDIN 打开;如果你需要执行命令则需要开启这个选项 2 -t/–tty 分配一个伪终端进行执行;一个连接用户的终端与容器 stdin 和 stdout 的桥梁 ...
redis:6.2-alpine@sha256:328fe6a5822256d065debb36617a8169dbfbd77b797c525288e465f56c1d392b healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres #image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410...
before running `docker compose up`.depends_on:db:condition:service_healthydb:image:postgresrestart:alwaysuser:postgressecrets:-db-passwordvolumes:-db-data:/var/lib/postgresql/dataenvironment:-POSTGRES_DB=example-POSTGRES_PASSWORD_FILE=/run/secrets/db-passwordexpose:-5432healthcheck:test:["CMD","pg_...
docker exec -it <container_name> psql -Upostgres ... 我们可以一起看下 exec 命令的这两个参数,自然就差不多理解了。 解决方法 docker exec 的参数 -t 是指 Allocate a pseudo-TTY 的意思,而 CI 在执行 job 的时候并不是在 TTY 终端中执行,所以 -t 这个参数会报错。同时在 『stackoverflow』也有人...
比如:#http://docker.io原来地址:redis:7.0.14-alpine # 这个是官方镜像,省略了前边的域名替换...
python 3.9-alpine 6946662f018b 6 months ago 47.8MB python 3.9.18 5850a789011f 6 months ago 997MB moby/buildkit buildx-stable-1 9291fad3b41c 6 months ago 172MB postgres 14 251b1e989f6e 6 months ago 408MB b3log/solo latest c59c7acda4c3 9 months ago 369MB ...
docker run -d \ -p 5432:5432 \ -e POSTGRES_USER=postgres \ -e POSTGRES_PASSWORD=postgres \ -v /Users/xsky/docker-home/pg:/var/lib/postgresql/data \ --name pg \ --restart always \ /postgres:9.6-alpine # -p port 映射端口,可以通过宿主机的端口访问到容器内的服务 # -d 是detach 保持...