2019年9月16日 星期一

docker reference


1. docker good book
https://www.jinnsblog.com/2018/10/docker-container-command.html

https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes

https://philipzheng.gitbooks.io/docker_practice/content/container/run.html

http://www.runoob.com/docker/docker-commit-command.html

http://www.runoob.com/docker/docker-install-apache.html

https://ithelp.ithome.com.tw/articles/10186431

https://skychang.github.io/2015/07/30/%E5%BB%BA%E7%AB%8B%E8%87%AA%E5%B7%B1%E7%9A%84-Docker-image/

https://www.scalyr.com/blog/create-docker-image/

https://joshhu.gitbooks.io/dockercommands/content/DockerImages/CommandArgs.html

# docker paty2
https://medium.com/@VisonLi/docker-%E5%85%A5%E9%96%80-%E7%AD%86%E8%A8%98-part-2-91e4dfa2b365

# simple learn docker
https://philipzheng.gitbooks.io/docker_practice/content/container/daemon.html

https://joshhu.gitbooks.io/dockercommands/content/Parameters/Parameters.html

2. docker php
https://medium.com/@vi1996ash/steps-to-build-apache-web-server-docker-image-1a2f21504a8e
https://medium.com/faun/how-to-build-a-docker-container-from-scratch-docker-basics-a-must-know-395cba82897b
https://www.ibm.com/developerworks/community/blogs/8ff122ba-5fbc-4844-8f62-340d437131ee/entry/How_to_build_your_own_Apache_HTTP_server_on_Docker?lang=en

https://github.com/docker-library/httpd/blob/17166574dea6a8c574443fc3a06bdb5a8bc97743/2.4/httpd-foreground

https://serverfault.com/questions/901810/cant-start-httpd-service-in-docker-image

https://phoenixnap.com/kb/how-to-restart-apache-centos-linux

https://phoenixnap.com/kb/how-to-restart-apache-centos-linux


3. apache centos7
https://blog.yslifes.com/archives/2523
https://www.rosehosting.com/blog/how-to-install-php-7-2-on-centos-7/
http://blog.cspc123.com/?p=168



4.  docker content
https://qiita.com/vc7/items/82863c4bd1f70f102b36

https://stackify.com/docker-performance-improvement-tips-and-tricks/

https://www.ithome.com.tw/news/103247

# docker cenos7 image
https://hub.docker.com/_/centos

# docker hello wold
https://medium.com/@VisonLi/docker-%E5%85%A5%E9%96%80-%E7%AD%86%E8%A8%98-part-2-91e4dfa2b365

# docker compose
http://blog.maxkit.com.tw/2017/03/docker-compose.html

https://stackoverflow.com/questions/34482018/docker-compose-up-does-not-start-a-container

https://yami.io/ubuntu-docker/

https://medium.com/@giorgioto/docker-compose-yml-from-v1-to-v2-3c0f8bb7a48e

https://dev.to/kbariotis/dont-just-docker-compose-up-gff

# docker overivew
https://blog.techbridge.cc/2018/09/07/docker-compose-tutorial-intro/



5. Httpd
https://github.com/hhcordero/docker-centos-apache-dev/blob/master/Dockerfile

http://www.inanzzz.com/index.php/post/rhsb/running-apache-server-as-foreground-on-ubuntu-with-dockerfile

https://github.com/hhcordero/docker-centos-apache-dev/blob/master/httpd-foreground

# httpd security
https://www.tecmint.com/apache-security-tips/



6. http://www2.lssh.tp.edu.tw/~hlf/class-1/linux/file_permission.htm
咦!似乎好像是可以喔!因為有可讀[ r ]存在嘛!『錯!』答案是非 root 這個帳號的其他使用者均不可進入 .ssh 這個目錄,為什麼呢?因為 x 與 目錄 的關係相當的重要,如果您在該目錄底下不能執行任何指令的話,那麼自然也就無法執行 ls, cd 等指令,所以囉,也就無法進入了,因此,請特別留意的是,如果您想要開放某個目錄讓一些人進來的話,請記得將該目錄的 x 屬性給開放呦! 


https://shian420.pixnet.net/blog/post/344938711-%5Blinux%5D-chmod-%E6%AA%94%E6%A1%88%E6%AC%8A%E9%99%90%E5%A4%A7%E7%B5%B1%E6%95%B4%21

https://www.thegeekstuff.com/2016/04/docker-compose-up-stop-rm/



7.

沒有留言:

張貼留言