docker-compose.yaml
services:
testcontainer:
container_name: testcontainer
image: registry.cn-hangzhou.aliyuncs.com/baimeidashu/bmds:jdk-21-v1.2
command: ["sh", "-c", "tail -f /etc/hosts"]
然后:
docker exec -it testcontainer /bin/bash

欢迎来撩 : 汇总all
