Docker Community Forums

Share and learn in the Docker community.

Docker deploy not available - am I missing something?


(Chriscowley) #1

I’m on 1.12.0-rc3 and cannot use docker deploy:

Client:
 Version:      1.12.0-rc3
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   91e29e8
 Built:        Sat Jul  2 00:10:17 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0-rc3
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   91e29e8
 Built:        Sat Jul  2 00:10:17 2016
 OS/Arch:      linux/amd64

# docker deploy
docker: 'deploy' is not a docker command.

I’m on Debian Jessie and everything installed from Apt using docker-machine using --engine-install-url experimental.docker.com

Do I need to do something to enable the experimental features?


(Dvohra) #2

Have not found the docker deploy command documented. Please provide reference.


(Grant Arnold) #3

I have the same issue. I downloaded 1.12 rc3 and docker deploy isn’t available.

Context for docker deploy is here: https://blog.docker.com/2016/06/docker-app-bundle/


(Dvohra) #4

Isn’t the Bundles feature available in Compose only? Does the /compose/bundles directory not include docer deploy?


https://github.com/docker/docker/blob/master/experimental/docker-stacks-and-bundles.md


(Chriscowley) #5

Yes, the creation of a bundle is part of docker-compose. However, I am talking about the deployment of that bundle. This is a sub-command of docker from what I can see.

It was first mentioned on the docker blog.

It is an experimental feature, so I installed the experimental binary.


(Dvohra) #6

The docker deploy is also from Docker Compose. Is Docker compose not deployed?


(John Harris) #7

docker deploy is currently only in the experimental release of 1.12-rc3. Do you have the regular or experimental version?

Ref: https://github.com/docker/docker/releases


(Serban Teodorescu) #8

You need to install 1.12-rc3 with experimental features enabled.

See here:
https://github.com/docker/docker/tree/master/experimental


(Nathan Le Claire) #9

If you’re sure it’s installed from experimental and it’s still not there, it’s possible it may have been renamed or removed between RCs. Experiments are experiments, after all, and part of the reason to include something in experimental is that it can be yanked later if needed since it wasn’t presented as something that will always be around. The CLI around the new Swarm stuff (esp. experimental things like bundles) is still a bit in flux.


(Chachra) #10

Don’t see it in GA release either?


(Nathan Le Claire) #11

It’s in 1.12.0 experimental (experimental.docker.com), which is not what you usually get by default