Skip to content

Pulling a prebuilt Docker Image

Suraj B M edited this page Feb 8, 2024 · 2 revisions

Two Docker images have been prebuilt and pushed to Docker Hub to prevent the need of building the Docker image from scratch. They are up-to-date and steps are taken to ensure that they are working properly.

Steps

  1. List all images present on your PC with docker images, and then remove all versions of hadoop images with docker rmi IMAGE_NAME to avoid confusion.
  2. Pull the required image based on your CPU architecture. This is very important, because some Macs use Intel chips too.
# AMD-based (Intel)
docker pull silicoflare/hadoop:amd

# ARM-based (Mac M series)
docker pull silicoflare/hadoop:arm

It will take a significant amount of time to pull the image, as it is 7.4 GB in size. Make sure you have a proper network connection.

  1. Once the image is completely pulled, add an alias to it to refer to it with an easier name. Replace CPU in the command below with amd or arm, like you chose above.
docker tag silicoflare/hadoop:CPU hadoop

The image is now ready to be used.


Common Errors

  • manifest unknown
    Make sure you are connected to the internet and the image name you're trying to pull is correct.
  • pull access denied for X
    Make sure the image name you're trying to pull is correct.
Clone this wiki locally