How to install docker-engine using docker binary without internet connection

I have downloaded docker binary version 1.8.2 and copied that to my backup server (centos server) which doesn’t have internet connectivity. I have marked this as executable and started the docker daemon as mentioned in [][1]. But it doesn’t seem to get installed as a docker service. For all the commands, I have to execute as sudo ./docker-1.8.2 {command}. Is there a way to install docker-engine as a service? Currently sudo docker version shows command not found. I’m a newbie to docker setup. Please advise.

  • docker start: no space left on device
  • connect via ssh to jhipster docker container on CentOS 7
  • Docker> postgresql9.6 error
  • Want to ssh into a running docker container running inside CentOs Image
  • Docker Centos 7 easy_install supervisor ssl issue behind proxy
  • CentOS as a Docker host causes different container behavior compared to any other host OS
  • Unable to locate package language-pack-en
  • How to share an non-storage USB device between host and container on OSX
  • Docker .Net Core app on Ubuntu not opening in localhost:8000
  • Eliminate mess with docker swarm mode loadbalancer, consul and external load balancer
  • Docker app not able to access MySQL running in another container
  • docker-compose: Modify environment variable
  • 2 Solutions collect form web for “How to install docker-engine using docker binary without internet connection”

    Why not download the rpm package (there are also centos 6 packages), copy to USB stick and then to your server and simply install it with rpm command and that’s it. That way you’d get the same installation as if you were to run yum.

    Of course you may have some dependencies missing, but you could download all of these as well.

    Firstly, if you’re downloading bare binaries on an enterprise linux, you’re probably doing things in a very bad way. Immediately, you’re breaking updates and consistency, and leaving your system in a risky, messy state.

    Try using yumdownloader –resolve to get the docker installable and anything it needs.

    A better option may be to mirror the installation artifacts, and grab it from the local mirror, but that’s beyond the scope if you don’t do this already.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.