docker_practice/install/experimental.md

42 lines
716 B
Go
Raw Normal View History

#
docker **** 使
## Docker CLI
`~/.docker/config.json`
```json
{
"experimental": "enabled"
}
```
**Linux/macOS**
```bash
$ export DOCKER_CLI_EXPERIMENTAL=enabled
```
**Windows**
```powershell
#
$ set $env:DOCKER_CLI_EXPERIMENTAL="enabled"
#
$ [environment]::SetEnvironmentvariable("DOCKER_CLI_EXPERIMENTAL","enabled","User")
```
## Dockerd
`/etc/docker/daemon.json`
```json
{
"experimental": true
}
```