CircleCI에서 빌드를 시작할 때 가장 먼저 수행되는 작업은 다음과 같습니다.
원격 Docker 엔진 설정
Specified reusable docker engine, but build has not been whitelisted. Contact CircleCI to be whitelisted Allocating a remote Docker Engine ... Remote Docker engine created. Using VM 'prealloc-wrjtu1qd-1491949826270' Created container accessible with: DOCKER_TLS_VERIFY=1 DOCKER_HOST=tcp://<IP>:2376 DOCKER_CERT_PATH=/tmp/docker-certs615987123 DOCKER_MACHINE_NAME=51123
이후 docker build --squash -t imagename .
CircleCI에서 실행될 때 다음과 같은 결과가 발생합니다.
Error response from daemon: squash is only supported with experimental mode
Exited with code 1
토론
/etc/docker/daemon.json
다음과 같이 변경 한 후 실험 기능을 로컬로 사용 합니다.
{
"experimental": true
}
docker systemctl 서비스를 다시 시작하지만 CircleCI에서 어떻게 수행합니까? 빌드 출력에 CircleCI 시스템에있는 원격 도커에 연결되었음을 나타내는 것이 불가능한 것 같습니다.