Blog

How to remove docker image with tag none

最近成日係度試 docker 野 之後發現行 docker image ls 時出現左好多 <none> 既 image docker image ls 覺得會唔會好浪費資源… 所以想 移除佢地… 但係又唔想一個個image 咁去 remove 解決方法 我們可以用以下 command 去查看 有那些 dangling 既 image 

S3 buckets should require requests to use Secure Socket Layer

另一個在 AWS Security Hubs 遇到既建意係 S3 buckets should require requests to use Secure Socket Layer S3 buckets should require requests to use Secure Socket Layer 主要係要用https 來 access 這個 …

Git credential-manager-core is not a git command

最近set up 左新電腦 Copy 了原本用開既電腦既 .gitconfig (檔案路徑: C:\Users%username%.gitconfig) 當我run git pull 既時候出現了以下錯誤信息 git 'credential-manager-core' is not a git command. See 'git ==help' git …

AWS S3 Bucket Security config - Block public access

終於要接觸 Security related既野… 今日想同大家分享一些 S3 既config run 左 AWS 既 Security Hub 之後發現有以下的 問題… S3 buckets should prohibit public read access S3 Block Public Access setting should be enabled …

Docker compose rebuild image

上一個post 分享了怎樣 用 docker command 去 Stop and remove Docker image (因為嘗試用 docker compose build 時 docker image 沒有更新到) Docker daemon conflict unable to remove repository reference (must …

Docker daemon conflict unable to remove repository reference (must force)

玩Docker 時嘗試docker compose up 時佢又唔識用update 左既 config 所以諗住 remove 左個 image 去再build 過.. docker image rm vite-reactjs-nodejs-app 但係又出現左以下呢個問題.. Error response from daemon: conflict: …

How to shut down windows 11 properly - 在Win 11 上如何真關機

岩岩安裝好部新Laptop … 之後發現雖然嘗試 正常關機… 但是關機後常常看到電源還是著的… 做了一會 research 之後發現原來是一個Windows 令你可以更快開到機既設定… 解決方法 我們只需要在 Windows 上的電源設定 untick Turn on fast startup (recommended) 便可 Power options …

How to install psql PostgreSQL Client Tools on Windows / 如何在Windows 上安裝 PSQL

由於公司現在是用 Postgres Database 既關係… 很多時都會用到 Postgres 的 PSQL tools 來做一些 operations… 當有新同事 / 新 intern 開始接觸公司的project 時多數都會遇到安裝問題… 我們會用docker 來 run Postgres Database 的 所以不用在主機安裝 Postgres …

Runtime.HandlerNotFound index.handler is undefined or not exported

最近係公司度做返D house keeping 野… 其中我地有一個service 係用Lambda 寫的… 我地會 upload 一個Zip file 去 S3 度比 Lambda 去 deploy Deploy 完之後 出現左以下的 Error Message Warning: Accessing non-existent property …

Cannot find my Azure Subscription

公司岩岩Apply 左做 Microsofr Partner 之後用開果個 Azure Account D Resource / Subscription 都唔見曬 Microsoft Azure Subscription 最後發現原來係因為 Apply 左做 Microsoft Partner之後會create 左個新既 Work / …