Skip to content

Commit 0469610

Browse files
authored
Add explicit instructions to not include ./ in .dockerignore
1 parent cd7a1eb commit 0469610

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/build_maxtext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ upload_maxtext_docker_image CLOUD_IMAGE_NAME=${CLOUD_IMAGE_NAME?}
136136

137137
> **Note:** You will need the [**Artifact Registry Writer**](https://docs.cloud.google.com/artifact-registry/docs/access-control#permissions) role to push Docker images to your project's Artifact Registry and to allow the cluster to pull them during workload execution. If you don't have this permission, contact your project administrator to grant you this role through "Google Cloud Console -> IAM -> Grant access".
138138
139-
> **Note:** If you see the following error, try adding the listed file path to `.dockerignore`:
139+
> **Note:** If you see the following error, try adding the listed file path to `.dockerignore`. Do not include the `./` prefix in the `.dockerignore` file:
140140
> ```
141141
> ERROR: Found symbolic links with absolute paths in the build context:
142142
> ./<add_this_value_to_dockerignore>

0 commit comments

Comments
 (0)