Skip to content

install docker with just running by single file

Notifications You must be signed in to change notification settings

abas/docker-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker single run Install

the purpose of the project is to simplify docker install with just running single file

Included

  • database mysql compose
  • laravel compose
  • composer docker command
  • docker-compose installer
  • portainer installer

Requirement

  • git
  • curl

how to install Docker

    # clone this repo and enter on the project
    $ git clone {repo_url}
    $ cd docker-install
    $ chmod +x * && sudo su # don't forger we must access with root
    
    # install docker
    $ ./docker-install.sh [-base_os] --default # or you can with `bash docker-install.sh`

Note

  • --default will install docker only
  • if there any errors on your progress, try running with root previllage.

how to install docker Portainer

    # install portainer, docker container management
    $ ./docker-install.sh [-base_os] --add portainer # port is optional, default 9000, container name is portainer

    # portainer with custom `port` / `container name`
    $ ./docker-install.sh [-base_os] --add portainer [port] # port is optional, default 9000
    $ ./docker-install.sh [-base_os] --add portainer [container_name] # port is optional, default 9000
    $ ./docker-install.sh [-base_os] --add portainer [container_name] [port] # port is optional, default 9000

how to install docker-compose

    $ ./docker-install.sh [-base_os] --add docker-compose
    # this feature is support on linux, and also mac :> could it be ?

docker-installer command option

    $ command [-base_os] --default
    - option : 
        -debian <- base OS debias .deb specify
        -fedora <- base OS fedora like centos etc
        -ubuntu <- base OS ubuntu
    ex :
    $ ./docker-installer.sh -debian --default # for debias
    $ ./docker-installer.sh -fedora --default # for fedora
    $ ./docker-installer.sh -ubuntu --default # for ubuntu

Next Objective

  • compose node-apps
  • docker-compose installer
  • add progressbar
  • refactor docker-install.sh with functionable structure

Note End

don't hesitate to make issue and pull request :>

About

install docker with just running by single file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published