docker compose -f docker-compose.dev.yml build should build a project using docker-compose.dev.yml Actual behavior I get the error "unknown shorthand flag: 'f' in -f" Steps to reproduce the behavior Output of docker version: Client: Docker Engine - Community Version: 20.10.11 API version:...
Try to launch the containers using docker composerun -f .devcontainer/docker-compose.yml Expected behavior Unsure, I've not seen it work before, but I assume that the container should run. Actual behavior I get the error "unknown shorthand flag: 'f' in -f" ...
unknown shorthand flag: 'd' in -d /usr/libexec/docker/cli-plugins/目录下没有docker-compose或者有docker-compose但执行docker help显示 Invalid Plugins: compose failed to fetch metadata: exit status 1 实际上是docker-compose未安装或者docker-compose版本太低 解决下载 docker-compose curl -SL https://g...
错误信息“unknown shorthand flag: 'e' in -ersion”表明在执行docker-compose -version命令时,Shell 解释器错误地将-ersion解析为了多个标志(flags),其中-e是一个未知的短格式标志。 这通常是由于命令中的拼写错误或格式问题导致的。 检查docker-compose命令的正确性: 正确的命令应该是docker-compose -v或docker-...
docker启动容器时报错unknownshorthandflag:‘n‘in-name docker启动容器时报错unknownshorthandflag:‘n‘in-name unknown shorthand flag: 'n' in -name See 'docker run --help'.是因为docker run -itd -name pg中执⾏启动命令时应该⽤--name⽽不是-name ...
unknown shorthand flag: 'n' in -name See 'docker run --help'. 是因为docker run -itd -name pg中执行启动命令时应该用--name而不是-name
docker-compose up -d unknown shorthand flag: ‘d’ in -d See ‘docker --help’. rimelek(Ákos Takács)February 2, 2023, 10:44pm2 It looks like yourdocker-composecommand is actually a shell script which runs the docker command. “up” might be supported ...
Environment Docker version 18.09.1, build 4c52b901c6cb docker-compose version 1.24.0, build 0aa5906 Dear Community, the command docker -compose up -d shows error unknown shorthand flag: ‘c’ in -compose See ‘docker…
下面是我运行docker compose events时运行进程的结果:
先进入容器:docker exec -it 容器名或容器id /bin/bash 进入容器执行,apt-get install net-tools 命令 再执行,apt-get install iputils-ping 命令 容器不停止退出:Ctrl+P+Q 然后再次执行 docker exec -it 容器名或容器id ping [ip地址] [root@fanguoan /]# docker exec -it tomcat-net-01 ping 192.168...