Nozarashi orchestrates reproducible Apple Container environments from OCI images, Dockerfiles, Containerfiles and Nix inputs.
Define services and resources in nozarashi.toml, then manage their images,
containers, networks and volumes as one project.
Nozarashi comes also bundled with a TUI for apple containers logs viewing.
Using Nix:
# Try before installing ?
nix run github:briheet/nozarashi
# Wanna try tui ?
nix run github:briheet/nozarashi tui
# Install
nix profile install github:briheet/nozarashiUsing Go:
# Try before installing ?
go run github.com/briheet/nozarashi/cmd/nozarashi@main
# Wanna try tui ?
go run github.com/briheet/nozarashi/cmd/nozarashi@main tui
# Install
go install github.com/briheet/nozarashi/cmd/nozarashi@main- macOS with Apple Container installed
- Nix when building services from Nix inputs
From a directory containing nozarashi.toml:
# To create resource(volumes and networks) and dns
sudo nozarashi create
# To build and pull images
nozarashi build
# To start containers
nozarashi upcreate registers the project DNS domain and creates its networks and volumes.
DNS registration requires administrator privileges; see Apple’s
local DNS documentation.
Use a service name to target one service:
# Stop the image's container if its running and recreate its image
nozarashi build backend
# Start the container from an image
nozarashi up backend
# Get logs for the container specified
nozarashi logs backend
# Exec commands
nozarashi exec backend sh| Command | Purpose |
|---|---|
create |
Create project DNS, networks and volumes |
build [services...] |
Build or pull service images |
up [services...] |
Create and start containers |
down [services...] |
Stop containers |
restart [services...] |
Restart containers |
ps |
List project containers |
logs [services...] |
Print container logs |
exec <service> <command> |
Run a command in a container |
inspect <services...> |
Display container details |
destroy |
Delete project containers, images and resources |
See the configuration specification and examples for complete setups and every supported input type.
