For what:
- use as consistent working environment on any machine
- use docker inside docker (DiD)
- if you are unable to use WSL, you can up all in Docker
- dockerconainers, bro
Create .env based on .env.example and you should change:
USER_NAME- yor created username for systemWORKING_DIRECTORY- your base system working path
Docker compose (the best way):
docker compose up -dDocker run:
docker run -itd \
--privileged \
--cgroupns=host \
--name ubuntu-dev-systemd \
--volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
--tmpfs /run \
--tmpfs /run/lock \
ubuntu-dev:latest \
/sbin/initdocker exec -it -u <your_user> <container_name> /bin/zsh
# docker exec -it -u zeizel ubuntu-systemd /bin/zsh- Set
WORKING_DIRECTORY - In container go to
/mnt
You may need to install image manually
docker pull ubuntu:24.04Needs manual installation
/bin/bash -c "$(curl -kfsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install gcc nvm
brew bundle --file=~/.config/BrewfileBecause on win bash convert / paths to C:/Users/<user>/AppData/Local/Programs/Git/, we might have some problems with it :/
Solve is:
- just not using
bashand go topowershellorcmd - use
export MSYS_NO_PATHCONV=1
- Need to create more comprehensive dots clone script (now it works only with stow-based configs)
- Fix brew installation (permission denied in build)