Skip to content

Sandstorm Development & Docker Tools: docker exec, but with root shell; docker vscode; PHP SPX & Xdebug; Project Template Handling

License

Notifications You must be signed in to change notification settings

sandstorm/drydock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drydock - Docker Debugging Tools

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: Like docker exec, but always spawn a root shell
  • drydock vscode: Open Visual Studio Code (with the Containers extension), allowing to edit any file as root
  • drydock 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.

Installation

We have tested the tools in OSX. They also can work on other platforms, but were not tested there yet.

  1. Run the following command to install via homebrew (OSX):

    brew install sandstorm/tap/drydock
  2. Done :)

    drydock --help  

Documentation

click the links for the full documentation for each command

License

MIT

About

Sandstorm Development & Docker Tools: docker exec, but with root shell; docker vscode; PHP SPX & Xdebug; Project Template Handling

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published