Skip to content

Fails to push when /tmp is too small #18

Description

@eed3si9n

Steps

Try to push a container larger than /tmp allocation. The Docker images are getting bigger lately, and sometimes we do not control the /tmp allocation in some shared environment.

Problem

It runs out of disk and fails.

Note

There's a default value that's hardcoded to "/tmp/bzl_docker_cache":

default = "/tmp/bzl_docker_cache",

Expectation

Use somewhere near execroot instead as the default value. In small-/tmp situation, we've already moved Bazel disk cache to somewhere under /home so following execroot should give us a better out-of-box behavior of this rule.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions