Skip to content

Add Archlinux Toolbox#1

Merged
palazzem merged 2 commits intomasterfrom
palazzem/archlinux-toolbox
Jan 4, 2020
Merged

Add Archlinux Toolbox#1
palazzem merged 2 commits intomasterfrom
palazzem/archlinux-toolbox

Conversation

@palazzem
Copy link
Copy Markdown
Owner

@palazzem palazzem commented Jan 4, 2020

Overview

This PR is a follow-up after the work done on Toolbox repository (ref: containers/toolbox#328). The idea is:

  • Have a working image to evaluate toolbox with my current configuration
  • Keep the image smaller, so that I can leverage Hanzo to prepare the toolbox

The original PR produced a valid image, that unfortunately wasn't working on my toolbox. The following changes were made to make it work:

  1. machine-id is not present on the base image, so it has been added to prevent mount-bind failure
  2. $(whoami) must be in the sudoer list without password, otherwise it's not possible to execute sudo from the main user

Usage:

$ podman build -t test-toolbox .
$ toolbox create -i localhost/test-toolbox -c test
$ toolbox enter --container testing

# You should see this but with your username:
# [palazzem@toolbox ~]$

I'm testing this configuration with the box I'm using daily. If it works properly, I will contribute back to the original PR, making the change more generic and not specific to my configuration.

@palazzem palazzem merged commit f1b4836 into master Jan 4, 2020
@palazzem palazzem deleted the palazzem/archlinux-toolbox branch January 4, 2020 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant