docker2hosthosts on AUR (Arch User Repository)

Last updated: December 27,2024

1. Install "docker2hosthosts" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install docker2hosthosts on Arch using YAY

$ yay -S docker2hosthosts

* (Optional) Uninstall docker2hosthosts on Arch using YAY

$ yay -Rns docker2hosthosts

2. Manually Install "docker2hosthosts" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone docker2hosthosts's git locally

$ git clone https://aur.archlinux.org/docker2hosthosts.git ~/docker2hosthosts

c. Go to ~/docker2hosthosts folder and install it

$ cd ~/docker2hosthosts $ makepkg -si

3. Information about the docker2hosthosts package on Arch User Repository (AUR)

ID: 517638
Name: docker2hosthosts
PackageBaseID: 133259
PackageBase: docker2hosthosts
Version: 0.1.1-1
Description: Updates the host system's /etc/hosts whenever containers go up or down.
URL: https://github.com/flaviut/docker2hosthosts
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: flaviut
FirstSubmitted: 1528423747
LastModified: 1528427386
URLPath: /cgit/aur.git/snapshot/docker2hosthosts.tar.gz