8000 Fails to push when /tmp is too small · Issue #18 · bazeltools/rules_minidock · GitHub
[go: up one dir, main page]

Skip to content

Fails to push when /tmp is too small #18

Open

Description

@eed3si9n

Steps

Try to push a con 4E77 tainer 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0