The .aldryn file¶
Your local Divio set-up can be configured via the ~/.aldryn
file.
It contains a JSON dictionary, for example:
- {
- "update_check_timestamp": 1501185567,
- "skip_doctor_checks": [
- "docker-machine"
- ]
- }
The skip_doctor_checks
are particularly useful, and can be used to disable certain automatedchecks run by the Divio app and the divio doctor command (for example, if youare working offline, or with network restrictions).
The checks that divio doctor
runs are classes in check_system.py. Add them tothe list in skip_doctor_checks
to disable them:
login
LoginCheck
Can we log in to the Control Panel?git
GitCheck
Is Git is installed locally?docker-client
DockerClientCheck
Is thedocker
command available?docker-machine
DockerMachineCheck
Is thedocker-machine
command available?docker-compose
DockerComposeCheck
Is thedocker-compose
command available?docker-server
DockerEngineCheck
Is the Docker daemon running, and can we connect to it?docker-server-ping
DockerEnginePingCheck
Does the Docker container have connectivity to the outside world? (Checks by runningdocker
.)
run —rm busybox sh -c "ping -c 1 -w 5 8.8.8.8"docker-server-dns
DockerEngineDNSCheck
Does a Docker container have connectivity to the outside world? (Checks by runningdocker run
.)
—rm busybox sh -c "timeout -t 5 nslookup control.divio.com"
原文: http://docs.divio.com/en/latest/reference/divio-dot-aldryn-file.html