Setting Automated Build on Docker Hub

Automated Build Automated Build 是 Docker Hub 提供的功能 當你update push Dockerfile to Github repo 時 就馬上根據 Dockerfile 幫你 build 一個新的 image:tag step1: 首先到 Docker Hub 右上角點選 Create Automated Build step2: 設定帳戶與Github連結 step3: 選

Install docker on Ubuntu16.04

Installing Docker CE AWS EC2 user : ubuntu Install using the repository 1 2 3 4 5 6 7 8 9 10 $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs)stable" $ sudo apt-get update $ sudo apt-get install docker-ce docker-ce-cli containerd.io # Verify that Docker CE is installed correctly by running the hello-world image. $ sudo docker run hello-world Install using

laravel 5.4 Passport show "encryption key error : You must set the encryption key going forward to improve the security of this library"

laravel passport 安裝設定完後,若使用上出現下面錯誤 You must set the encryption key going forward to improve the security of this library - see this page for more information https://oauth2.thephpleague.com/v5-security-improvements/ 解決方法 http://www.imc4.com/archives/5.html 更新 /vendor/laravel/passport/src/PassportServiceProvider.php 中的makeAuthorizationS