Category Archives: Docker

[Docker] time sync with host

Source: stackoverflow: How to make sure docker’s time syncs with that of the host?

Posted in Docker | Comments Off on [Docker] time sync with host

[Docker] The crontab is not work in docker

Source: docker容器内cron不执行 vim /etc/pam.d/crond # The PAM configuration file for the cron daemon # # No PAM authentication called, auth modules not needed account required pam_access.so account sufficient pam_access.so account include password-auth session required pam_loginuid.so session sufficient pam_loginuid.so session include … Continue reading

Posted in Docker, Linux | Leave a comment

Docker

前幾天從 Louk 學長的臉書分享了一篇介紹 Docker 的文章 連結 這一篇內容還蠻棒的,然後昨天老妖怪就找我討論 Docker 了 XD 討論中老妖怪說了一個蠻好的例子~ Docker 就像是沒有 OS 的 VM ~ 我覺得還蠻貼切的 XD 雖然並非是完全不用 OS,而是他使用了 OS 的基礎 Image,或許有點像是之前 VMware 會提到的 Linked mode VM 透過減少 OS 的重覆除了可以減少空間的浪費,也可以增加快速部署的方便性 仔細看了一下 Docker 的官網 在使用的過程中可能會有不斷的取出、建立、取出、建立的動作 目的是要能夠建立起屬於自己的 Docker image 當建立完 … Continue reading

Posted in Docker | Leave a comment