Menu

Post image 1
Post image 2
1 / 2
0

Installing Docker Engine on Ubuntu 26.04

DEV Community·Sanskriti Harmukh·28 days ago
#br0GmopX
#docker#ubuntu#linux#devops#fullscreen#enter
Reading 0:00
15s threshold

Running containers on a fresh Ubuntu 26.04 server? The default repositories do not ship a production-ready version of Docker. This guide installs Docker Engine directly from the official Docker repository, with Compose and Buildx included. By the end, you'll have Docker running as a system service with a live Nginx container confirming the install. Install Docker The official Docker repository gives you the most current Docker Engine builds. Follow these steps to add the GPG key and repo, then install. 1. Install dependency packages: $ sudo apt install apt-transport-https ca-certificates curl -y Enter fullscreen mode Exit fullscreen mode 2. Add Docker's GPG key: $ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc Enter fullscreen mode Exit fullscreen mode 3. Register the Docker repository: $ echo "deb [arch= $( dpkg --print-architecture ) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $( .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More