-
Notifications
You must be signed in to change notification settings - Fork 2
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.
- List all images present on your PC with
docker images
, and then remove all versions of hadoop images withdocker rmi IMAGE_NAME
to avoid confusion. - 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.
- 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 withamd
orarm
, like you chose above.
docker tag silicoflare/hadoop:CPU hadoop
The image is now ready to be used.
-
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.