docker swarm deploy not supported in Bitbucket Pipelines

Issue #18230 open
Matthew Watson
staff created an issue

The builtin docker support in Bitbucket Pipelines does not support the swarm commands.

This is documented in https://confluence.atlassian.com/bitbucket/run-docker-commands-in-bitbucket-pipelines-879254331.html (although we should explicitly add the swarm command to the list).

We enable Docker inside Pipelines with certain constraints because of our security model, as listed in the documentation above.

We can investigate whether we can allow the swarm commands that allow deploying to a remote swarm (please vote and comment on your use-cases), however we will never be able to allow the daemon to join the cluster.

As a workaround note that it is possible to connect to your own Docker Daemon outside of Pipelines as mentioned in https://confluence.atlassian.com/bitbucket/run-docker-commands-in-bitbucket-pipelines-879254331.html Using an external Docker daemon which will allow you to use docker swarm

Comments (5)

  1. Log in to comment