Skip to content

Commit

Permalink
feat: Add install-docker ujust for using docker on the host from dist…
Browse files Browse the repository at this point in the history
…robox
  • Loading branch information
KyleGospo committed Jan 1, 2025
1 parent 21fe680 commit 1ac8f49
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ install-opentabletdriver:
systemctl enable --user --now arch-opentabletdriver.service && \
distrobox enter -n arch -- bash -c 'distrobox-export --app otd-gui'

# Install Docker, a platform designed to help developers build, share, and run container applications
install-docker:
#!/usr/bin/bash
sudo mkdir -p /var/lib/docker
echo 'Creating Docker group.'
sudo groupadd --gid 252 docker
echo 'Setting up Docker Distrobox Container.'
distrobox assemble create --replace --file /etc/distrobox/docker.ini --name docker
echo 'Installing docker-cli for the host.'
brew install docker
echo 'Complete.'

# Create fedora distrobox if it doesn't exist
[private]
distrobox-check-fedora:
Expand Down

2 comments on commit 1ac8f49

@mowglixx
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not too familiar with the distrobox way of things shall I merge this with my repo and push?

@mowglixx
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this lead to rewiring the flatpak to this container or container for code too?

Please sign in to comment.