bitwardenを自前(オンプレ)で運営してる人はLet’s Encryptの更新とかどうすんのっ!
て話ですがめちゃくちゃ簡単です。
そもそもbitwardenは独自スクリプトを使って起動,停止,アップデートをするので、
その際にLet’s Encryptも更新してくれます。
いざ参る!
■bitwarden command
https://help.bitwarden.com/article/install-on-premise/
今回はupdate,updateselfだけかな。
■update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# ./bitwarden.sh update _ _ _ _ | |__ (_) |___ ____ _ _ __ __| | ___ _ __ | '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \ | |_) | | |_ \ V V / (_| | | | (_| | __/ | | | |_.__/|_|\__| \_/\_/ \__,_|_| \__,_|\___|_| |_| Open source password management solutions Copyright 2015-2018, 8bit Solutions LLC https://bitwarden.com, https://github.com/bitwarden =================================================== Docker version 17.06.2-ce, build 3dfb8343b139d6342acfd9975d7f1068b5b1c3d3 docker-compose version 1.17.1, build 6d101fb Stopping nginx ... done Stopping identity ... done Stopping mssql ... done Stopping attachments ... done Stopping web ... done Stopping icons ... done Stopping api ... done Removing nginx ... done Removing identity ... done Removing mssql ... done Removing attachments ... done Removing web ... done Removing icons ... done Removing api ... done Removing network docker_default 1.15.1: Pulling from bitwarden/setup Digest: sha256:9d4fd9ea670b2ee84eeb19278d6a80bee10f5a50796b3a5f11af1dbdd4b052cf Status: Image is up to date for bitwarden/setup:1.15.1 Building docker environment files. Building docker environment override files. Building nginx config. Building app settings. Building FIDO U2F app id. Building docker-compose.yml. Removing network docker_default WARNING: Network docker_default not found. Pulling web (bitwarden/web:1.21.0)... 1.21.0: Pulling from bitwarden/web Digest: sha256:526cd2b0d70f97930d3eb3d023241b23a608e03410c3a4c0861a44beb7e668da Status: Image is up to date for bitwarden/web:1.21.0 Pulling attachments (bitwarden/attachments:1.15.1)... 1.15.1: Pulling from bitwarden/attachments Digest: sha256:d658685d00af29914dea150e755b5ba87e5fc8a891c493caf0ee88565b3800a8 Status: Image is up to date for bitwarden/attachments:1.15.1 Pulling icons (bitwarden/icons:1.15.1)... 1.15.1: Pulling from bitwarden/icons Digest: sha256:ba5008134c085a60d2d2766a844d531e49585835143aed1b98e228d2383bc57f Status: Image is up to date for bitwarden/icons:1.15.1 Pulling nginx (bitwarden/nginx:1.15.1)... 1.15.1: Pulling from bitwarden/nginx Digest: sha256:c5278379ad94870be713f8e553bbdb23c252398556d48385df0053dfb03b3bc3 Status: Image is up to date for bitwarden/nginx:1.15.1 Pulling api (bitwarden/api:1.15.1)... 1.15.1: Pulling from bitwarden/api Digest: sha256:1f086e87a3324af886f7d1b9e70cea4170fb76885676554941c0e0dfdcbc9c7f Status: Image is up to date for bitwarden/api:1.15.1 Pulling mssql (bitwarden/mssql:1.15.1)... 1.15.1: Pulling from bitwarden/mssql Digest: sha256:59c619900a68515ae82973ec8c73608c94d8d06770e3473e01831ce972fda5d5 Status: Image is up to date for bitwarden/mssql:1.15.1 Pulling identity (bitwarden/identity:1.15.1)... 1.15.1: Pulling from bitwarden/identity Digest: sha256:e634a3f3c9481ff81dcedea16a5ddd457372ebd40fcf9a74a340c0d7ffda21be Status: Image is up to date for bitwarden/identity:1.15.1 Using default tag: latest latest: Pulling from certbot/certbot 81033e7c1d6a: Pull complete 9b61101706a6: Pull complete 32753c857922: Pull complete 27040272194a: Pull complete 35d2ee69d1bd: Pull complete 1be728f7cdca: Pull complete 404d0b24d9bd: Pull complete 7dd3c270d174: Pull complete a4b94ce8dba7: Pull complete cabaf0d0419f: Pull complete Digest: sha256:385e01b87b903ad9446dd1626ba6a07c26a3045f6a142261b301d316669e96fa Status: Downloaded newer image for certbot/certbot:latest Saving debug log to /etc/letsencrypt/logs/letsencrypt.log ------------------------------------------------------------------------------- Processing /etc/letsencrypt/renewal/bitwarden.adachin.com.conf ------------------------------------------------------------------------------- Cert is due for renewal, auto-renewing... Plugins selected: Authenticator standalone, Installer None Renewing an existing certificate Performing the following challenges: http-01 challenge for bitwarden.adachin.com Waiting for verification... Cleaning up challenges ------------------------------------------------------------------------------- new certificate deployed without reload, fullchain is /etc/letsencrypt/live/bitwarden.adachin.com/fullchain.pem ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Congratulations, all renewals succeeded. The following certs have been renewed: /etc/letsencrypt/live/bitwarden.adachin.com/fullchain.pem (success) ------------------------------------------------------------------------------- Creating network "docker_default" with the default driver Creating api ... Creating icons ... Creating mssql ... Creating web ... Creating api Creating nginx ... Creating icons Creating identity ... Creating attachments ... Creating mssql Creating web Creating nginx Creating identity Creating identity ... done Deleted Images: untagged: certbot/certbot@sha256:f04d0f48088e9acd0231b06f9d551d4e86dc9932f74981860ad4ff23d049bb3a deleted: sha256:c60de0e9b000a388488580c2dd9869530e408a869170b3ee5ee16eb132f80935 ~省略~ Total reclaimed space: 108.7MB 1.15.1: Pulling from bitwarden/setup Digest: sha256:9d4fd9ea670b2ee84eeb19278d6a80bee10f5a50796b3a5f11af1dbdd4b052cf Status: Image is up to date for bitwarden/setup:1.15.1 bitwarden is up and running! =================================================== visit https://bitwarden.adachin.com to update, run './bitwarden.sh updateself' and then './bitwarden.sh update' 1.15.1: Pulling from bitwarden/setup Digest: sha256:9d4fd9ea670b2ee84eeb19278d6a80bee10f5a50796b3a5f11af1dbdd4b052cf Status: Image is up to date for bitwarden/setup:1.15.1 docker: Error response from daemon: No such container: bitwarden-mssql. |
なんかエラー出とる…
updateselfしてみる。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# ./bitwarden.sh updateself _ _ _ _ | |__ (_) |___ ____ _ _ __ __| | ___ _ __ | '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \ | |_) | | |_ \ V V / (_| | | | (_| | __/ | | | |_.__/|_|\__| \_/\_/ \__,_|_| \__,_|\___|_| |_| Open source password management solutions Copyright 2015-2018, 8bit Solutions LLC https://bitwarden.com, https://github.com/bitwarden =================================================== Docker version 17.09.1-ce, build 3dfb8343b139d6342acfd9975d7f1068b5b1c3d3 docker-compose version 1.17.1, build 6d101fb Updated self. |
もう一度update!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
# ./bitwarden.sh update _ _ _ _ | |__ (_) |___ ____ _ _ __ __| | ___ _ __ | '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \ | |_) | | |_ \ V V / (_| | | | (_| | __/ | | | |_.__/|_|\__| \_/\_/ \__,_|_| \__,_|\___|_| |_| Open source password management solutions Copyright 2015-2018, 8bit Solutions LLC https://bitwarden.com, https://github.com/bitwarden =================================================== Docker version 17.09.1-ce, build 3dfb8343b139d6342acfd9975d7f1068b5b1c3d3 docker-compose version 1.17.1, build 6d101fb Stopping nginx ... done Stopping identity ... done Stopping attachments ... done Stopping icons ... done Stopping mssql ... done Stopping web ... done Stopping api ... done Removing nginx ... done Removing identity ... done Removing attachments ... done Removing icons ... done Removing mssql ... done Removing web ... done Removing api ... done Removing network docker_default 1.16.0: Pulling from bitwarden/setup 723254a2c089: Pull complete 03ab0a5d7c3d: Pull complete 6dbb3614dd3b: Pull complete 02eb4fb302df: Pull complete f75494dee0eb: Pull complete 1fa48f9a3457: Pull complete 12f17f062525: Pull complete Digest: sha256:edb5dc8a64ff2fc890bc4213574ab67c260b345c3dd259e2fed5549c1f299b05 Status: Downloaded newer image for bitwarden/setup:1.16.0 Building docker environment files. Building docker environment override files. Building nginx config. Building app settings. Building FIDO U2F app id. Building docker-compose.yml. Removing network docker_default WARNING: Network docker_default not found. Pulling web (bitwarden/web:1.22.0)... 1.22.0: Pulling from bitwarden/web 723254a2c089: Already exists 03ab0a5d7c3d: Already exists 6dbb3614dd3b: Already exists 02eb4fb302df: Already exists 129bd50ee288: Pull complete 32fcb80850d7: Pull complete 35b7efc61dcb: Pull complete 5829c32f5df6: Pull complete b28fb7bcd676: Pull complete 37988694dc4b: Pull complete Digest: sha256:4b66b3ae5a2eec00b20c6125981378375c7e9c04eca5be30a96724b4a8c6bb25 Status: Downloaded newer image for bitwarden/web:1.22.0 Pulling attachments (bitwarden/attachments:1.16.0)... 1.16.0: Pulling from bitwarden/attachments 723254a2c089: Already exists 03ab0a5d7c3d: Already exists 6dbb3614dd3b: Already exists 02eb4fb302df: Already exists 129bd50ee288: Already exists 32fcb80850d7: Already exists a6a4e5cec15b: Pull complete 6b70b9263117: Pull complete Digest: sha256:2b5de46153773ec8cba5ca99343dfb3813f1b9ee4e96760ff4a80851db2a5ba0 Status: Downloaded newer image for bitwarden/attachments:1.16.0 Pulling icons (bitwarden/icons:1.16.0)... 1.16.0: Pulling from bitwarden/icons 723254a2c089: Already exists 03ab0a5d7c3d: Already exists 6dbb3614dd3b: Already exists 02eb4fb302df: Already exists 129bd50ee288: Already exists ee67ee2ac7c5: Pull complete 038f23cedaf1: Pull complete ebbe6bd844f4: Pull complete 17964c25ccaa: Pull complete 06e4707ab3fa: Pull complete e35037bdd971: Pull complete bb0d4b190746: Pull complete Digest: sha256:46bf6c5269ca13814783ec0230ced7d118633570fe800b7b58747b77d1ad6a65 Status: Downloaded newer image for bitwarden/icons:1.16.0 Pulling nginx (bitwarden/nginx:1.16.0)... 1.16.0: Pulling from bitwarden/nginx e7bb522d92ff: Pull complete bc725ecf00bb: Pull complete 0e2bcc95a4b7: Pull complete 1b66f2669a73: Pull complete 689a077beca6: Pull complete e5f0bdd151be: Pull complete 5f1669900ae8: Pull complete fa1fc844570e: Pull complete Digest: sha256:049999a1beb189065b96721cee7014ba48a1c2d3a7fca2d24a0a31b96be73cfe Status: Downloaded newer image for bitwarden/nginx:1.16.0 Pulling api (bitwarden/api:1.16.0)... 1.16.0: Pulling from bitwarden/api 723254a2c089: Already exists 03ab0a5d7c3d: Already exists 6dbb3614dd3b: Already exists 02eb4fb302df: Already exists 129bd50ee288: Already exists d8f4f269afc7: Pull complete 3b785d557a3c: Pull complete 23b87569ccd8: Pull complete 9d127b35afb0: Pull complete deb82368fc50: Pull complete feb6644e5f2a: Pull complete 3adf60b156aa: Pull complete Digest: sha256:c67e553b8a921dc48d69e32ae1e0977eb6e29508a7797155b5ddb69dc2c31f35 Status: Downloaded newer image for bitwarden/api:1.16.0 Pulling mssql (bitwarden/mssql:1.16.0)... 1.16.0: Pulling from bitwarden/mssql f6fa9a861b90: Already exists da7318603015: Already exists 6a8bd10c9278: Already exists d5a40291440f: Already exists bbdd8a83c0f1: Already exists 3a52205d40a6: Already exists 6192691706e8: Already exists 1a658a9035fb: Already exists 97fa7291bda1: Already exists b27ed30c4cf6: Already exists d6f6e12c4bcb: Pull complete 094f38e95761: Pull complete ae9759d89a83: Pull complete 85d896f2faa5: Pull complete c8e6039eb721: Pull complete c3592b404ce8: Pull complete 080b80dccdb6: Pull complete 49a965f618af: Pull complete Digest: sha256:619d0157d11f24acac720c970da2789f103b5ffa3169b1c7e67875083751e352 Status: Downloaded newer image for bitwarden/mssql:1.16.0 Pulling identity (bitwarden/identity:1.16.0)... 1.16.0: Pulling from bitwarden/identity 723254a2c089: Already exists 03ab0a5d7c3d: Already exists 6dbb3614dd3b: Already exists 02eb4fb302df: Already exists 129bd50ee288: Already exists edfef710438b: Pull complete 624d38cfd5a4: Pull complete 66cd3a4810f4: Pull complete b5349f442d1e: Pull complete Digest: sha256:6f9c037290b1e03b38bb2d33de59b22af711d1d2b2b1769b2a33720f71c8cf70 Status: Downloaded newer image for bitwarden/identity:1.16.0 Using default tag: latest latest: Pulling from certbot/certbot Digest: sha256:385e01b87b903ad9446dd1626ba6a07c26a3045f6a142261b301d316669e96fa Status: Image is up to date for certbot/certbot:latest Saving debug log to /etc/letsencrypt/logs/letsencrypt.log ------------------------------------------------------------------------------- Processing /etc/letsencrypt/renewal/bitwarden.adachin.com.conf ------------------------------------------------------------------------------- Cert not yet due for renewal ------------------------------------------------------------------------------- The following certs are not due for renewal yet: /etc/letsencrypt/live/bitwarden.adachin.com/fullchain.pem (skipped) No renewals were attempted. ------------------------------------------------------------------------------- Creating network "docker_default" with the default driver Creating bitwarden-attachments ... Creating bitwarden-api ... Creating bitwarden-mssql ... Creating bitwarden-icons ... Creating bitwarden-nginx ... Creating bitwarden-web ... Creating bitwarden-attachments Creating bitwarden-api Creating bitwarden-identity ... Creating bitwarden-mssql Creating bitwarden-icons Creating bitwarden-nginx Creating bitwarden-web Creating bitwarden-identity ... done Total reclaimed space: 0B 1.16.0: Pulling from bitwarden/setup Digest: sha256:edb5dc8a64ff2fc890bc4213574ab67c260b345c3dd259e2fed5549c1f299b05 Status: Image is up to date for bitwarden/setup:1.16.0 bitwarden is up and running! =================================================== visit https://bitwarden.adachin.com to update, run './bitwarden.sh updateself' and then './bitwarden.sh update' 1.16.0: Pulling from bitwarden/setup Digest: sha256:edb5dc8a64ff2fc890bc4213574ab67c260b345c3dd259e2fed5549c1f299b05 Status: Image is up to date for bitwarden/setup:1.16.0 Migrating database. Beginning transaction Beginning database upgrade Fetching list of already executed scripts. Executing SQL Server script 'Bit.Setup.DbScripts.2017-12-12_00_Events.sql' Upgrade successful Migration successful. Database update complete |
OK!?
既にupdateでLet’s Encryptがrenewされてるので証明書は更新されてますな。
念のためbitwarden再起動する。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# ./bitwarden.sh restart _ _ _ _ | |__ (_) |___ ____ _ _ __ __| | ___ _ __ | '_ \| | __\ \ /\ / / _` | '__/ _` |/ _ \ '_ \ | |_) | | |_ \ V V / (_| | | | (_| | __/ | | | |_.__/|_|\__| \_/\_/ \__,_|_| \__,_|\___|_| |_| Open source password management solutions Copyright 2015-2018, 8bit Solutions LLC https://bitwarden.com, https://github.com/bitwarden =================================================== Docker version 17.06.2-ce, build 3dfb8343b139d6342acfd9975d7f1068b5b1c3d3 docker-compose version 1.17.1, build 6d101fb Stopping attachments ... done Stopping identity ... done Stopping nginx ... done Stopping web ... done Stopping mssql ... done Stopping icons ... done Stopping api ... done Removing attachments ... done Removing identity ... done Removing nginx ... done Removing web ... done Removing mssql ... done Removing icons ... done Removing api ... done Removing network docker_default Pulling web (bitwarden/web:1.21.0)... 1.21.0: Pulling from bitwarden/web Digest: sha256:526cd2b0d70f97930d3eb3d023241b23a608e03410c3a4c0861a44beb7e668da Status: Image is up to date for bitwarden/web:1.21.0 Pulling attachments (bitwarden/attachments:1.15.1)... 1.15.1: Pulling from bitwarden/attachments Digest: sha256:d658685d00af29914dea150e755b5ba87e5fc8a891c493caf0ee88565b3800a8 Status: Image is up to date for bitwarden/attachments:1.15.1 Pulling icons (bitwarden/icons:1.15.1)... 1.15.1: Pulling from bitwarden/icons Digest: sha256:ba5008134c085a60d2d2766a844d531e49585835143aed1b98e228d2383bc57f Status: Image is up to date for bitwarden/icons:1.15.1 Pulling nginx (bitwarden/nginx:1.15.1)... 1.15.1: Pulling from bitwarden/nginx Digest: sha256:c5278379ad94870be713f8e553bbdb23c252398556d48385df0053dfb03b3bc3 Status: Image is up to date for bitwarden/nginx:1.15.1 Pulling api (bitwarden/api:1.15.1)... 1.15.1: Pulling from bitwarden/api Digest: sha256:1f086e87a3324af886f7d1b9e70cea4170fb76885676554941c0e0dfdcbc9c7f Status: Image is up to date for bitwarden/api:1.15.1 Pulling mssql (bitwarden/mssql:1.15.1)... 1.15.1: Pulling from bitwarden/mssql Digest: sha256:59c619900a68515ae82973ec8c73608c94d8d06770e3473e01831ce972fda5d5 Status: Image is up to date for bitwarden/mssql:1.15.1 Pulling identity (bitwarden/identity:1.15.1)... 1.15.1: Pulling from bitwarden/identity Digest: sha256:e634a3f3c9481ff81dcedea16a5ddd457372ebd40fcf9a74a340c0d7ffda21be Status: Image is up to date for bitwarden/identity:1.15.1 Using default tag: latest latest: Pulling from certbot/certbot Digest: sha256:385e01b87b903ad9446dd1626ba6a07c26a3045f6a142261b301d316669e96fa Status: Image is up to date for certbot/certbot:latest Saving debug log to /etc/letsencrypt/logs/letsencrypt.log ------------------------------------------------------------------------------- Processing /etc/letsencrypt/renewal/bitwarden.adachin.com.conf ------------------------------------------------------------------------------- Cert not yet due for renewal ------------------------------------------------------------------------------- The following certs are not due for renewal yet: /etc/letsencrypt/live/bitwarden.adachin.com/fullchain.pem (skipped) No renewals were attempted. ------------------------------------------------------------------------------- Creating network "docker_default" with the default driver Creating api ... Creating icons ... Creating mssql ... Creating web ... Creating nginx ... Creating identity ... Creating api Creating icons Creating attachments ... Creating web Creating nginx Creating mssql Creating identity Creating identity ... done Total reclaimed space: 0B 1.15.1: Pulling from bitwarden/setup Digest: sha256:9d4fd9ea670b2ee84eeb19278d6a80bee10f5a50796b3a5f11af1dbdd4b052cf Status: Image is up to date for bitwarden/setup:1.15.1 bitwarden is up and running! =================================================== visit https://bitwarden.adachin.com to update, run './bitwarden.sh updateself' and then './bitwarden.sh update' |
WEBで確認できたのでOK!?
がしかし!
updateしたことでdockerイメージも新しくpullされました。
古いイメージはじゃんじゃん溜まるので消しましょう!
■docker images
1 2 3 4 5 6 7 8 9 |
# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ff557b15bd7f bitwarden/identity:1.16.0 "/entrypoint.sh" About a minute ago Up About a minute 80/tcp bitwarden-identity a2a861404ab3 bitwarden/icons:1.16.0 "/entrypoint.sh" About a minute ago Up About a minute 80/tcp bitwarden-icons 7df14b2efc54 bitwarden/web:1.22.0 "/entrypoint.sh" About a minute ago Up About a minute 80/tcp bitwarden-web 6e4c34d1bb6f bitwarden/nginx:1.16.0 "/entrypoint.sh" About a minute ago Up About a minute 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp bitwarden-nginx f1d570c4e9ea bitwarden/mssql:1.16.0 "/entrypoint.sh" About a minute ago Up About a minute 1433/tcp bitwarden-mssql 0cdb1c8b7f70 bitwarden/attachments:1.16.0 "/entrypoint.sh" About a minute ago Up About a minute 80/tcp bitwarden-attachments 22e245b29637 bitwarden/api:1.16.0 "/entrypoint.sh" About a minute ago Up About a minute 80/tcp bitwarden-api |
最新はv1.16系が動いてる。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# docker images REPOSITORY TAG IMAGE ID CREATED SIZE certbot/certbot latest 346607377c3c 5 days ago 109MB bitwarden/web 1.22.0 118aa6fe5944 4 weeks ago 307MB bitwarden/setup 1.16.0 5120a1c014b6 4 weeks ago 224MB bitwarden/mssql 1.16.0 0c0b48830dae 4 weeks ago 1.33GB bitwarden/icons 1.16.0 bd44c32348af 4 weeks ago 318MB bitwarden/attachments 1.16.0 aaaf70acf4b2 4 weeks ago 304MB bitwarden/nginx 1.16.0 1efab7752369 4 weeks ago 108MB bitwarden/identity 1.16.0 f2c575e25dfe 4 weeks ago 344MB bitwarden/api 1.16.0 2b0dc7d85098 4 weeks ago 407MB bitwarden/setup 1.15.1 3dbfc7d5136d 8 weeks ago 224MB bitwarden/mssql 1.15.1 fe412da90752 8 weeks ago 1.33GB bitwarden/icons 1.15.1 9b25ff22bf3c 8 weeks ago 318MB bitwarden/attachments 1.15.1 c1b88456e9fb 8 weeks ago 304MB bitwarden/nginx 1.15.1 175bbb461a05 8 weeks ago 108MB bitwarden/identity 1.15.1 d3fd4d9fd886 8 weeks ago 344MB bitwarden/api 1.15.1 bdf2c284d027 8 weeks ago 407MB bitwarden/web 1.21.0 dbcb4a5b8e7d 8 weeks ago 307MB quay.io/prometheus/node-exporter latest b16f339d1c32 2 months ago 22.8MB |
今回はv1.15.1イメージを抹消します。
1 2 3 4 5 6 7 8 |
# docker images |grep 1.15 bitwarden/setup 1.15.1 3dbfc7d5136d 8 weeks ago 224MB bitwarden/mssql 1.15.1 fe412da90752 8 weeks ago 1.33GB bitwarden/icons 1.15.1 9b25ff22bf3c 8 weeks ago 318MB bitwarden/attachments 1.15.1 c1b88456e9fb 8 weeks ago 304MB bitwarden/nginx 1.15.1 175bbb461a05 8 weeks ago 108MB bitwarden/identity 1.15.1 d3fd4d9fd886 8 weeks ago 344MB bitwarden/api 1.15.1 bdf2c284d027 8 weeks ago 407MB |
以下のようにawk使えば、一瞬でdocker rmiできます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# docker rmi $(docker images | grep 1.15.1 | awk '{print $3}') Untagged: bitwarden/setup:1.15.1 Untagged: bitwarden/setup@sha256:9d4fd9ea670b2ee84eeb19278d6a80bee10f5a50796b3a5f11af1dbdd4b052cf Deleted: sha256:3dbfc7d5136d2ef9e4aec8f2e93b89e18bec5fe6da601efc79c0bbee752e5f64 Deleted: sha256:6126c5f42d9b386b14701c31a2cf12e4bf328c505d5e6ca6d75e94504dcea598 Deleted: sha256:ee014308ba182bfa751572151270535f1b0ed37d4483a6f42dfbbb064e739b3b Deleted: sha256:66535e9c50903ab8450818027db8d9db994203aa28ff4147da7d9cb82491e0cf Deleted: sha256:a117ea9e67ab0778782ab88bef32fb660d46a88c12e2ddf267a878819be42015 Deleted: sha256:be0aa3d8fb30047d6dc02f2f8ed9b9b6760ca45c459e07ec5752246469258795 Deleted: sha256:9689dbade03054e81ffd955a091ffa136ee0a26739a10648ea67e1d0222052af Untagged: bitwarden/mssql:1.15.1 Untagged: bitwarden/mssql@sha256:59c619900a68515ae82973ec8c73608c94d8d06770e3473e01831ce972fda5d5 Deleted: sha256:fe412da907528399251d78a5f2b172316e0c40549b3c14b4f71276b75a8f89c3 Deleted: sha256:d3b30fdaf6590286ff5ae02ec7ea608d8d82f40021bdb760109dd048684df201 Deleted: sha256:7dd2dc89a95bb2ac844958baaf1bf3cd49f2ab91444db8d7328cda1decc2eedb Deleted: sha256:d24801d1e80020437696034c9361dc9ef1d9028b5251c47203c191a899a08731 Deleted: sha256:20a89ba681e53dd6878a451e8299df726cb02cec181edc5af503da27a5c2fce4 Deleted: sha256:7e0fced9243302c586d6ccd3c82f99f10a86b75ab660f5967e37765feb8e23f7 Deleted: sha256:8e562d4701c1816d7f26338e3f145f0327b794211563a12bc5ed99da3bd24ca2 Deleted: sha256:1d03108d385918875adc028df88b473786f18c21225d45956df76bf2d8ab64d3 Deleted: sha256:c6c6d5989b341e410f096e9840bc021f73411534164ca427cd11a6a04f2d8f81 Untagged: bitwarden/icons:1.15.1 Untagged: bitwarden/icons@sha256:ba5008134c085a60d2d2766a844d531e49585835143aed1b98e228d2383bc57f Deleted: sha256:9b25ff22bf3c086d13e286e49ddcb9f15eef84e8a770c270230bef8cc655565b Deleted: sha256:066fdb8d770c5945708f291673c1806826cf78f283885c151762477f2298ae8a Deleted: sha256:9c4901359bc82fc3295d9865eddefd228cf3e599c1d1eab0ab16ea1b179e8585 Deleted: sha256:54d8dc372c6b9ebfaed7cc4102bc65565c963ae0f42d17b61f4c4690b5ec4a0d Deleted: sha256:6e56754ed4b75a5e66485b9fccf00b46fce3ac09815eb6a12a871a5acb883318 Deleted: sha256:0710c4578c91d63fd70792b0fa24f029f8c8927a86ad6eb4c5f405814d969ea9 Deleted: sha256:473858f09a9219343a0f0251068de0e90237daa463b671435ad6e4732d806897 Deleted: sha256:0f63c3be8db1ea5aa60ae271d678eea63c37d19a1358cb5bab559e53a01ea6d2 Untagged: bitwarden/attachments:1.15.1 Untagged: bitwarden/attachments@sha256:d658685d00af29914dea150e755b5ba87e5fc8a891c493caf0ee88565b3800a8 Deleted: sha256:c1b88456e9fb940d2cecf61f32447768049d193baed5fc311604b2a86163cc01 Deleted: sha256:f08881493502bc089055e8d9561df6257eb91197d8ae03bbfeb16237e5d976c4 Deleted: sha256:9b976930db9e978c5934180f16667f8c7d46935c11ee178eb54e0ea20d91b81f Deleted: sha256:d9e23f2565cf4e754c1ebfbba248ec30318b17380ca0af474a200e34fb70d29e Untagged: bitwarden/nginx:1.15.1 Untagged: bitwarden/nginx@sha256:c5278379ad94870be713f8e553bbdb23c252398556d48385df0053dfb03b3bc3 Deleted: sha256:175bbb461a05a1a963184883785b0bd12f95c91b65fb0e6253c0a70598435e8d Deleted: sha256:d02b60263f80690d79de53bd4e29f6bde9c996961b0f3bd6ccc49a34ec23230e Deleted: sha256:6b2a306eb8351b8266dd47017a3344d86ccba026f47cfa121fb98ec0e75b1f3c Deleted: sha256:4267c42290c102693a23be45bad55d94a348b9a5f38e19816265cb20b40ba22f Deleted: sha256:07ae5a860d48c020838b8a623ac46bc7f333300da7cbbe8d654ae2c0115f26e4 Deleted: sha256:d2682e034579a7005e5caa94079285fc61630f7b046a0001c0e3c1e44792db64 Deleted: sha256:fff562ed79bd45fa2ff1ea1535339fae4122c354893649a55679d5ecb6867666 Deleted: sha256:0df130f498a259a0be4bec06c85e369487c2ed9352dc21f35af7cf28e9b53d81 Deleted: sha256:cec7521cdf36a6d4ad8f2e92e41e3ac1b6fa6e05be07fa53cc84a63503bc5700 Untagged: bitwarden/identity:1.15.1 Untagged: bitwarden/identity@sha256:e634a3f3c9481ff81dcedea16a5ddd457372ebd40fcf9a74a340c0d7ffda21be Deleted: sha256:d3fd4d9fd8860d712a35d4bf408867e38d1910bb902411c55d8830f16de728f6 Deleted: sha256:9aa5c88bd4e1cb18b7b225ef16c1207c90c5013838443ddb197893dc55afd688 Deleted: sha256:062477b6cf6e404a1814a0d7c98aa4d2a0b09ce9c57190a76108452f2048b300 Deleted: sha256:ed823b0324620227c39fe7262cb702429030c02b3babafeaf414cc256dcbbdef Deleted: sha256:63c2aee0f6653dcc0301d6d5fa20280c782cb191c9c7785ca17f6919619774ea Untagged: bitwarden/api:1.15.1 Untagged: bitwarden/api@sha256:1f086e87a3324af886f7d1b9e70cea4170fb76885676554941c0e0dfdcbc9c7f Deleted: sha256:bdf2c284d0275526d57172459ed960445f741d87928b32ad0640efababd8b0f7 Deleted: sha256:500a245a803ad27d4374a5b38ac8c0383dae11073da0334ea2f21127348dd674 Deleted: sha256:38ca9a8316a0b96697f1258db13547f467d53004ab51009d525ba880c79efb8c Deleted: sha256:ff1b32a6d46dadcdd9a920b4f1a2f6ef780aa255d54e5805c3ebe3f4eb7695db Deleted: sha256:b5daf83084e8196d0064282db84da99321482f0566cee98e4a42b18c0b7a599e Deleted: sha256:074fa9a3bd72de749cef8642b3a88f6e7ee9b9e015707c52a0c95700e54547c4 Deleted: sha256:9bc95066fa7eb1fcf7688979e10255084d7fe710ec61933ae8cef92d84713239 Deleted: sha256:ee4b77dac124a9ef810624fe8c09db5289e333c2fcb3f63bafd7d0a0d509b483 Deleted: sha256:779cdafc13355eca88fca2fc1e4a13f4bb76c19ecbeeb9497cba3cda95d205f4 Deleted: sha256:22238517d5d88301669284e6c9d5d8fe796cb9fa681100fbfa238e49e60c7d3a Deleted: sha256:28b8fa9aea0c93975fd2dc9b211212bfc2a8ee465b26645eb0d42d0f97cb2078 Deleted: sha256:6df7bc427b62280ab17c2bea0fde56c8cb63755c2e968ab7fc3154053d2c7c2d |
■まとめ
そろそろbitwarden cliカモン。
safari拡張機能対応した!
0件のコメント