Code Monkey home page Code Monkey logo

docker's Introduction

1. docker

Dockerfile and docker-compose file

1.1. ubuntu-oracle-jdk8

build image

cd ubuntu-oracle-jdk8
docker build -t gucs/ubuntu-oracle-jdk8 .

1.2. mysql56

build image

cd mysql56
docker build -t gucs/mysql56 .

run

docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 --name mysql56 gucs/mysql56

stop

docker stop mysql56

exec

docker exec -it mysql56 mysql -uroot -p123456

1.3. mysql57

build image

cd mysql57
docker build -t gucs/mysql57 .

run

docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 --name mysql57 gucs/mysql57

stop

docker stop mysql57

exec

docker exec -it mysql57 mysql -uroot -p123456

1.3. mysql80

build image

cd mysql80
docker build -t gucs/mysql80 .

run

docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 --name mysql80 gucs/mysql80

stop

docker stop mysql80

exec

docker exec -it mysql80 mysql -uroot -p123456

1.4. nginx

build image

cd nginx
docker build -t gucs/nginx .

1.5. open-project-7

build image

cd open-project-7
docker build -t gucs/open-project-7 .

2. docker-compose

2.1. SQL SERVER Linux

docker-compose up

https://hub.docker.com/r/microsoft/mssql-server-linux/

Mapping volumes should be supported for Docker for Mac microsoft/mssql-docker#12

SQL Server requires underlying filesystems to support the O_DIRECT file option so that we can use asynchronous I/O. It appears that Docker's OS X volume mapper doesn't support this. We also require O_DIRECT because SQL Server expects unbuffered I/O to the disk.

BTW - you can use data container volumes for persistence when using Docker for Mac.

docker's People

Contributors

gucs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.