Edit

Base Docker images

Learn about the Docker images you can use as your actor's base. Choose the correct base image for your actor's type and requirements.

Apify provides the following Docker images that can be used as a base for user actors. You can read more about them in the Apify SDK Docker image guide.

  • Node.js 14 on Alpine Linux (apify/actor-node) - slim and efficient image, contains only the most elementary tools. Note that headless browsers (Puppeteer, Playwright) are not available in this image.

  • Node.js 14 + Puppeteer + Chrome on Debian (apify/actor-node-puppeteer-chrome) - larger image with the Chromium and Google Chrome browsers and the puppeteer library bundled. With this image, you can use the Apify.launchPuppeteer() function and PuppeteerCrawler. Note that Chrome requires quite a lot of resources, therefore the actor should run with at least 2048 MB of memory.

  • Node.js 14 + Playwright + Chrome on Debian (apify/actor-node-playwright-chrome) - similar to the apify/actor-node-puppeteer-chrome image, but it comes preinstalled the playwright automation library instead of Puppeteer. With this image, you can use the Apify.launchPlaywright() function and PlaywrightCrawler. This image also comes with a firefox and webkit version.

For a full list of available images, see the Apify SDK Docker image guide. Note that some images available in the Apify UI can be marked as deprecated. This means that they should no longer be used for new projects and old projects are encouraged to migrate to one of the non-deprecated images.

All images come in two versions: the latest tag corresponds to the stable version and beta to images where we test new features. Use the beta version at your own risk.

Note that all Apify Docker images are pre-cached on Apify servers in order to speed up the actor builds and runs. The source code used to generate the images is available in the apify-actor-docker GitHub repository.