Tinkerwell 3 is here!

Tinkerwell background image
Tinkerwell Logo Tinkerwell

Docker#

Standard Docker setups that use a docker-compose.yml file in the root of the project are supported out of the box. Open a project and a Docker icon appears in the sidebar where you can configure the correct container for your application. To detect the path inside the Docker environment, make sure that Docker is running.

WSL

If you are using Windows and running Docker in WSL, make sure to open your project via \\wsl$\Ubuntu\home\... and don't use \\wsl.localhost\as this does not work.

Laravel Sail

Laravel Sail uses a docker-compose.yml file in the project root of your project and is supported out-of-the box. Simply open your project, click on the Docker icon in the sidebar and configure the Docker settings.

DDEV

DDEV does not have a docker-compose.yml in the project root but hides these files in a different location. Until Tinkerwell supports custom paths to configuration files, you can either symlink the file or simply copy it to your project root. So if you run a DDEV setup, copy the file from .ddev/ddev-docker-compose-full.yml to your project root as docker-compose.yml.

Warden

Warden store the configuration of your project in an internal structure – but has a command to display the configuration to the command line. This makes it possible to redirect the output to a file and generate the required docker-compose.yml easily.

You can generate the file by running this command:

warden env config > docker-compose.yml

After that, open a new tab, navigate to the project and the Docker icon appears in the sidebar.