#packagemanagement
#xcode #xcode-select
xcode-select --install
#homebrew
Instructions can be found at https://brew.sh/
to support x11 type software piping from container to host #xquartz #socat #docker #dbus
First, install useful homebrew "tap's":
brew tap homebrew/brew-cask
brew tap homebrew/cask-versions
System/infrastructure software dependancies requred to support using containers with tools such as obsidian, drawio, vym, cherrytree, etc, installed that requre an x11 pipe between container and host.
Before one can work with containers in this repo (includes getting X11 installed and working):
brew install xquartz
brew install socat
brew install docker
#####
# dbus required for some Qt based apps that might be used in docker containers
brew install dbus
#settingupdbus #dbus
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/dbus/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
#bash #xhost #bash
- Following fixes title bar problem between docker and X11 #localahost #127.0.0.1
export IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
/opt/X11/bin/xhost +${IP}
## host bash environment should include the following:
## Following fixes title bar problem between docker and X11
export IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
export DISPLAY=$(${IP}:0)
/opt/X11/bin/xhost +${IP}
## NOTE: it appears to work with the IP set to 127.0.0.1 as well, needs further testing..
- Useful tools, required amid the churn of trying to make things work... Some may no longer be requried, or may be installed as a dependency of other packages.
brew install autoconf automake libtool autoconf-archive gettext check pkg-config luajit
brew install libjpeg freetype fribidi fontconfig giflib libtiff glib dbus libsndfile bullet
- To make gettext available, add the following to your $PATH
export PATH="$(brew --prefix gettext)/bin:$PATH"
- Popular editors used by many developers, if not already installed, eventually more appropriately installed and managed in containers
brew cask install sublime-text visual-studio-code pycharm-community
- Popular 3rd party terminal used by many macOOS developers
brew cask install iterm2
#podman #skopeo #singularity #apptainer #kubernetes #kubectl #nerdctl #lima #qemu #utm #virtualbox #parallels #fusion #packer #vagrant #terraform #vault #hcp #consul #nomad #openstack #openshift #waypoint #boundary #hashicorp #oracleCloud #amazonCloud #googleCloud #asureCloud #ansible #puppet #CFEngine #vmware #vsphere #esxi #docker #pod #ortellius
Redhat oci mangement tools
brew install podman
brew install skopeo
skopeo copy --dest-tls-verify=false docker-daemon:docker.io/centos:7 docker://localhost:5000/centos:7
https://dzone.com/articles/containers-landscape-seen-through-oci-and-cncf-standards-lenses
https://phab.enlightenment.org/w/osx/
https://kde.inoki.cc/2019/07/24/DBus/
https://gist.github.com/vfdev-5/b7685371071036cb739f23b3794b5b83