A tool to develop and push Docker containers on BalenaOS locally
BalenaOS is a lightweight, open-source operating system designed to run containers on embedded devices. It is based on Yocto Linux and is designed to run on a variety of devices, including Raspberry Pi, Intel NUC, and Nvidia Jetson.
-
Install BalenaOS and Balena CLI
-
Download the appropriate image from the BalenaOS website.
- Start with a development image, and then move to a production image once you have everything working.
-
Follow the instructions to flash and continue using your device.
-
Commands and details: Balena Masterclasses
-
-
Balena CLI
- Install the Balena CLI
-
Add the BalenaOS device to the local network and get the IP address.
# Clone the repo git clone https://github.com/J0hn-B/piship.git && cd piship
-
Update the .env file
DEV_DEVICE_IP="your-device-ip"
-
- Change to the develop directory
# Will deploy the configuration of develop/docker-compose.yml cd develop && ./push.sh
-
- Change to the delete directory
# Will delete the configuration of docker-compose.yml and clean up images, volumes and networks cd delete && ./clean.sh