docs(docker.md): add a note clarifying Docker vs. Playwright image (#13768)

Addresses feedback from #12772
This commit is contained in:
Ari 2022-04-26 15:04:45 -04:00 committed by GitHub
parent 5724d46253
commit f989e86538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,6 +114,10 @@ following tags (`v1.20.0` in this case is an example:):
- `:sha-XXXXXXX` - docker image for every commit that changed
docker files or browsers, marked with a [short sha](https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection#Short-SHA-1) (first 7 digits of the SHA commit).
:::note
It is recommended to always pin your Docker image to a specific version if possible. If the Playwright version in your Docker image does not match the version in your project/tests, Playwright will be unable to locate browser executables.
:::
### Base images
We currently publish images based on the following [Ubuntu](https://hub.docker.com/_/ubuntu) versions: