Can I execute Docker commands inside my pipelines?

The short answer is no.

On the Docker-enabled stack, Wercker runs your job inside a Docker container. This means that Docker commands are not available because they would have to be made available outside the container, which would be insecure.

Instead, we provide you with a set of internal steps that function as a wrapper for some of the Docker commands, like pushing a container to a registry.