Skip to main content

Enabling Docker Experimental Features on Remote Docker

Setting "experimental" to true in daemon.json

Docker experimental features can be enabled by adding an /etc/docker/daemon.json with {"experimental": true} on the Remote Docker instance and restarting the daemon.

  steps:
    - setup_remote_docker:
        version: 18.09.3
    - run: |
        ssh remote-docker \<<EOF
          sudo bash -c 'echo "{\"experimental\": true}" > /etc/docker/daemon.json'
          sudo systemctl restart docker
        EOF

Be sure to set a Docker version that supports the functionality you are looking to make use of.


You can check to see if experimental features are enabled by running the command below:

docker version -f '{{.Server.Experimental}}'

If enabled, the command will print a value of true.

Additional Resources

Did this answer your question?