the purpose of the project is to simplify docker install with just running single file
- database
mysqlcompose laravelcomposecomposerdocker commanddocker-composeinstallerportainerinstaller
- 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
--defaultwill install docker only- if there any
errorson 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 9000how 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 ubuntuNext Objective
- compose
node-apps -
docker-composeinstaller -
addprogressbar -
refactordocker-install.sh with functionable structure
Note End
don't hesitate to make issue and pull request :>