Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

[Bug]: Can't build container for macOS #124

Open
timdreier opened this issue Dec 28, 2022 · 1 comment
Open

[Bug]: Can't build container for macOS #124

timdreier opened this issue Dec 28, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@timdreier
Copy link
Contributor

Current Behavior

Error during b5 install:

 => ERROR [stage-1  7/30] RUN groupadd --gid 20 carla     && useradd --uid 503 --gid 20 -m carla     && apt-get update     && apt-get install -y sudo     && echo carla ALL=(root) NOPASSWD:ALL > /etc/su  0.4s
------
 > [stage-1  7/30] RUN groupadd --gid 20 carla     && useradd --uid 503 --gid 20 -m carla     && apt-get update     && apt-get install -y sudo     && echo carla ALL=(root) NOPASSWD:ALL > /etc/sudoers.d/carla     && chmod 0440 /etc/sudoers.d/carla:
#0 0.385 groupadd: GID '20' already exists

Expected Behavior

Container works for macOS

How to reproduce the issue

Run b5 install in macOS.

@timdreier timdreier added the bug Something isn't working label Dec 28, 2022
@timdreier timdreier self-assigned this Dec 28, 2022
@timdreier
Copy link
Contributor Author

Fixed in #125.

nylser added a commit that referenced this issue Jan 11, 2023
# Description

Makes it possible to run the containers on devices without Nvidia GPU.
Thereby, CARLA can't be executed because of the missing GPU, however,
any command can be run inside the agent container `b5 shell agent`.

Fixes #96 and #124

## Time invested

Tim Dreier: 3h

## Type of change

Please delete options that are not relevant.

- Breaking change (fix or feature that would cause existing
functionality to not work as expected)

## Does this PR introduce a breaking change?

Kind of, everyone has to run `b5 install` to write the configuration.

## Most important changes

That the project now also runs on any Unix based system (including
macOS, without GPU support).

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works (might be obsolete with CI later on)
- [x] New and existing unit tests pass locally with my changes (might be
obsolete with CI later on)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant