VCR:Vercel コンテナレジストリの導入
Vercel は OCI 準拠のコンテナレジストリ「VCR」を発表し、開発者が Docker コマンドそのままのワークフローで画像を管理・デプロイできるようになった。
キーポイント
標準的な Docker ワークフローとの互換性
新しいツールや学習コストを必要とせず、既存の docker push/pull/tag コマンドで VCR を利用可能である。
Fluid Compute への自動最適化
プッシュされた画像は背景処理で Sandboxes や Functions に最適なスナップショット形式に変換され、Vercel の Fluid Compute で高速に実行される。
プロジェクトベースの統合管理
Vercel ダッシュボードからの作成や OIDC/アクセストークンによる認証が可能で、CI/CD パイプラインとシームレスに連携する。
影響分析・編集コメントを表示
影響分析
この発表は、サーバーレス環境におけるコンテナ利用のハードルを下げ、開発者が Docker の標準的なワークフローを維持しながら Vercel の高速な実行環境を活用できる道を開きます。特に Fluid Compute との統合により、従来のサーバーレス関数とコンテナベースのアプリケーションの境界が曖昧になり、開発体験(DX)が大幅に向上する可能性があります。
編集コメント
サーバーレスとコンテナの融合を加速する重要なステップであり、特に Docker に慣れた開発者が Vercel の高速環境へスムーズに移行できる点が高く評価されます。
Vercel で、コンテナイメージのプッシュ、プル、管理を直接行えるようになりました。
Vercel Container Registry は、Vercel のインフラストラクチャ上でホストされる OCI 準拠のイメージレジストリです。標準的なワークフローと連携し、単に docker push、docker pull、docker tag を実行するだけで済むため、新たに学ぶ必要も、ツールの移行も不要です。
Vercel プロジェクトには、無制限数のリポジトリを設定できます。リポジトリは Vercel ダッシュボードから直接作成・管理することも、あるいは VCR へ直接プッシュすることで、Vercel がその場で自動的にリポジトリを作成します。
操作には、Vercel の他の機能と同じ認証制御が適用されます。OIDC またはアクセストークンによる認証が可能ですが、トークンにはプロジェクトスコープへのアクセス権限が必要です。
Fluid Compute 向けに最適化
イメージをプッシュすると、Vercel は背景で自動的に Sandboxes や Functions で使用できるよう最適化を行います。Vercel は、イメージが要求された際に使用するプレコンパイル済みスナップショットを保存します。これらは、Fluid Compute 上で実行するように最適化された Sandbox Snapshots と同じ形式を使用しています。
Vercel でのビルドとデプロイ
Vercel のビルド環境は、現在のプロジェクト用の認証設定が自動的にセットアップされています。つまり、Vercel のビルド&デプロイプロセスを通じてイメージをビルドして保存できます。あるいは、今日から Dockerfile を Vercel に直接持ち込み、Vercel Functions と Vercel Sandboxes でホストすることも可能です。
VCR に関する詳細はドキュメントをご覧ください。
続きを読む
原文を表示
You can now push, pull, and manage container images directly on Vercel.
Vercel Container Registry is an OCI-compliant image registry hosted on Vercel's infrastructure. It works with standard workflows - simply docker push, docker pull, and docker tag - so there's nothing new to learn and no migration of tooling required.
A Vercel project can have an unlimited number of repositories. You can create and manage repositories directly through the Vercel dashboard or even just push directly to VCR. Vercel will create the repository for you on the fly.
Operations use the same authorization controls as the rest of Vercel. You can authenticate with OIDC or an access token, provide the token has access to the project scope.
Optimized for Fluid Compute
When you push an image, Vercel automatically optimizes it in the background for use in Sandboxes and Functions. Vercel stores a precompiled snapshot of the image which to use when the image is requested. These use the same format as our Sandbox Snapshots which are optimized to run on Fluid Compute.
Build and deploy on Vercel
Vercel's build environment is automatically setup with authentication for the current project. This means you can build and store images via Vercel build & deploy process. Or, from today you can also bring your Dockerfile to Vercel directly and host it with Vercel Functions with Vercel Sandboxes.
Read more about VCR in the documentation.
Read more
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み