-
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_NAMEto 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:armIt 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
CPUin the command below withamdorarm, like you chose above.
docker tag silicoflare/hadoop:CPU hadoopThe 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.