agencyoffline.blogg.se

Docker for mac 開発環境を作成
Docker for mac 開発環境を作成









docker for mac 開発環境を作成

In the above example, it's OK to use the path /dev/disk3 where the SD card is mounted on.

docker for mac 開発環境を作成

$ diskutil listĢ: Apple_APFS Container disk1 250.7 GB disk0s2 Then, run diskutil list command on your command line to find the location of the SD card device file. Shut down the Raspberry Pi and remove the SD card. Sudo apt-get autoremove Creating an SD card image file

DOCKER FOR MAC 開発環境を作成 SOFTWARE

Deleting unnecessary applications sudo apt-get purge libreoffice wolfram-engine sonic-pi scratchīe careful not to accidentally delete the apps you are using! Deleting unnecessary software packages sudo apt-get clean Insert the SD card you want to create an image file into your Raspberry Pi and power it. Several similar containers have been published on the Docker Hub, but unverified.ĭeleting unnecessary applications, software packagesīefore creating an SD card image, delete unnecessary applications and software packages.

  • I used turee/pishrink-docker this time.
  • docker for mac 開発環境を作成

  • Docker container with PiShrink installed.
  • Docker for Mac(docker desktop): 2.1.0.4.
  • So I tried to reduce the size of the image file using a Docker container with a tool called PiShrink. This squeezes your storage capacity and takes a long time to restore to an SD card. If you simply read the entire SD card with dd, a huge image file for the entire capacity of the SD card will be created, including the unused area. You can use the dd command to backup the entire Raspberry Pi SD card on Mac.











    Docker for mac 開発環境を作成