Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.85 KB

File metadata and controls

56 lines (37 loc) · 1.85 KB

How docker changes the way we develop

No more installations

docker run --rm -d -p 6379:6379 redis

Redis Docker Hub

docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<YourStrong!Passw0rd>' \
   -p 1433:1433 --name sql1 \
   -d microsoft/mssql-server-linux:2017-latest

Run the SQL Server 2017 container image with Docker

docker run -d postgres

Postgres Docker Hub

Cross-platform commands!

  • ldapsearch
docker run -it --rm \
    -e HOST=softleader.com.tw \
    -e PORT=10388 \
    softleader/ldap-client search dc=softleader,dc=example,dc=com
docker run -t --rm softleader/curl-jq \
  "-sS https://icp.softleader.com.tw/eureka-jasmine-uat/registry | jq .application "

Congratulations

你已經學會了基本款的 docker 應用了, 期待之後的 Kubernetes Tutorials 吧!

References