Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for How to Install Docker on Raspberry Pi
0xkoji
0xkoji

Posted on

     

How to Install Docker on Raspberry Pi

Photo byPraveen Thirumurugan onUnsplash

original post:https://baxin.netlify.app/how-to-install-docker-raspberry-pi/

Install Docker on Raspberry Pi

curl-fsSL https://get.docker.com-o get-docker.shsudosh get-docker.sh
Enter fullscreen modeExit fullscreen mode

Add user to the docker group

sudogpasswd-a$USER docker# Add user to the docker groupnewgrp docker# Refresh the group membership
Enter fullscreen modeExit fullscreen mode

Verify Docker Installation

This command checks that Docker has been successfully installed on your Raspberry Pi.

docker--versionDocker version 27.4.1, build b9d17ea
Enter fullscreen modeExit fullscreen mode

Hello World

This command runs a test container to verify Docker is working properly.

docker container run--rm hello-world
Enter fullscreen modeExit fullscreen mode

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Never lose curiositySoftware Engineer at a startuptypescript, javascript, react, and python.code to do something weird/helpfullearning rust as a new journey 😎#genai #mediaart #art #hardware
  • Location
    Brooklyn in the United States and Tokyo in Japan
  • Education
    New York University
  • Pronouns
    he/him/his
  • Work
    Software Engineer
  • Joined

More from0xkoji

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp