Skip to content

raphaelli/Dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfiles

Dockerfiles backup and open sources - //自用Dockerfiles轮子

Dockerfile list

  • Mysql by Docker-Compose - mysql
  • PHP&Nginx by Docker-Copmpose - php_Nginx
  • MSSql by Docker-Compose - mssql
  • Gogs by Docker-Compose - gogs

Docker

Remove the old version and install the new one.

$ sudo apt-get remove docker docker-engine docker.io
$ curl -fsSL get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
$ #Or  curl -sSL https://get.docker.com/ | sh 

Docker Compose

  • Get docker compose

    $ sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    
  • Apply executable permissions to the binary

    $ sudo chmod +x /usr/local/bin/docker-compose
  • Test the installation.

    $ docker-compose --version
    docker-compose version 1.22.0, build 1719ceb

Automatically start

Ubuntu

$ vim  /etc/rc.local
## add
/usr/local/bin/docker-compose -f /docker/mssql/docker-compose.yml up -d

Using docker logs check something you want in logs.

About

🐳Dockerfiles backup and open sources

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages