This is a set of useful CLI tools developed at sandstorm.de to make our development processes smoother and easier. It is mostly tooling to help debugging Docker containers, though starting with v4, we also have some general-purpose tooling for working with template projects.
General Tooling
drydock execroot
: Likedocker exec
, but always spawn a root shelldrydock vscode
: Open Visual Studio Code (with the Containers extension), allowing to edit any file as rootdrydock template-project sync
: Keep your project in sync with changes from a template project using AI (ALPHA)
PHP Specific Tooling
drydock spx
: Install and enable the SPX Profiler PHP extension into a running container (without restart).drydock xdebug
: Install and enable the Xdebug PHP extension into a running container (without restart). Additionally, supports mounting extra folders over webdav for a better OSX debugging experience.
We have tested the tools in OSX. They also can work on other platforms, but were not tested there yet.
-
Run the following command to install via homebrew (OSX):
brew install sandstorm/tap/drydock
-
Done :)
drydock --help
click the links for the full documentation for each command
drydock execroot [containername]
drydock vscode [containername]
drydock spx [containername]
drydock xdebug [containername]
drydock template-project sync
(NEW)
MIT