
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A hat for your Docker!
This is a set of helper commands to run and manage Docker containers on OS X.
Super simple with Homebrew, just run the below and you'll be up-and-running in no time:
brew tap chinthakagodawita/homebrew-dh
brew update
brew install docker-hat
All commands are simply sub-commands of the dh binary. A full list is below (examples coming soon!):
Sets up Docker to run on your Mac. This goes off and sets up (via dinghy) the following things:
docker-machine is used to instrument this*.docker which automatically maps to the Docker hostUsage
dh init
Starts up a nifty Standard Operating Environment for building various applications in. Currently only supports PHP (with special focus on Drupal & Wordpress) but more coming soon!
See the docker-containers repository for a full list and Dockerfiles.
Start up a new container using one of the special pre-built SOE images.
Usage
dh soe start <container-name>
Stop an already-running container.
Usage
dh soe stop <container-name>
Restart a running container using the same settings it was started up with.
Usage
dh soe restart <container-name>
Run Drush inside on of your running containers. Sets up paths correctly so that it executes on your docroot.
Usage
dh soe drush <container-name> [command]
Controls your Docker host virtual machine and environment.
You shouldn't normally need to start or stop this manually—it should be brought up when required. This command is there for all the times it refuses to listen.
Start the Docker host virtual machine.
Usage
dh host start
Stop the host.
Usage
dh host stop
Restart the host.
Usage
dh host restart
Show Docker host status.
Usage
dh host status
Run a command (any command!) in a container.
Usage
dh exec <container-name> <command>
Example
dh exec foo tail -f /var/log/apache2/error.log
Attaches a bash shell to one of your containers and gives your full interactive control. Simply type exit to close.
Usage
dh shell <container-name>
Example
dh shell foo
FAQs
Helper commands to run and manage Docker containers on a Mac.
We found that docker-hat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.