Can I use multiple containers?
Can I use multiple containers?
docker-compose.yml file at the root of your project. You can reference the multicontainer documentation for more details on the supported configurations.If you are running a Docker-in-Docker setup, which builds a single container on the balena servers but has a docker-compose.yml file at the root of the project, you’ll want to rename the file to something like dind-compose.yml. Then when you run Docker Compose in your container, you can use the -f flag with the new file name: docker-compose -f dind-compose.yml up.Can I mix device types in a fleet?
Can I mix device types in a fleet?
How do I push a new git repo to a fleet?
How do I push a new git repo to a fleet?
project-A to your fleet and at a later stage you would like to push a new project called project-B, you can do this by adding the remote (git remote add balena <USERNAME>@git.balena-cloud.com:<USERNAME>/<APPNAME>.git) to project-B’s local repository. You can then easily push project-B to your fleet by just doing git push balena master -f. The extra -f on the command forces the push and resets the git history on the git remote on balena’s backend. You should now have project-B running on all the devices in the fleet. Note that once you have successfully switched to project-B you no longer need to add the -f on every push, for more info check out the docs on forced git pushes.Why does /data report weird usage?
Why does /data report weird usage?
/data for the services to use, this way it avoids reserving a specific amount of space for either images or data and then finding out that we have reserved too much or too little for one. So the space usage in /data being used but not accounted for will likely be due to the Docker images. (As a side note if you want the most accurate usage stats you should use btrfs fi df /data as df is not accurate for btrfs partitions).What NTP servers do the devices use?
What NTP servers do the devices use?
What network ports are required?
What network ports are required?
Can I use balenaCloud in countries with restrictive firewalls such as China?
Can I use balenaCloud in countries with restrictive firewalls such as China?
Can I access /dev and things like GPIO from the container?
Can I access /dev and things like GPIO from the container?
cap_add and devices settings in the docker-compose.yml file to map in the correct hardware access to the container.Can I set a static IP address for my device?
Can I set a static IP address for my device?
Why can't I SSH into or run code in older versions of the host OS?
Why can't I SSH into or run code in older versions of the host OS?
- Code in the host OS currently isn’t kept inside a container, so we are unable to track or update it at all.
- If code run in the host OS inadvertently kills our supervisor or overwrites critical data (such as data used to identify it), the device could become inaccessible and no longer updateable.
- Configuration of network device drivers, mount points, security provisions, and many other details have been carefully chosen to serve the balena ecosystem and your containers. Rogue code running in the host OS might interfere with this, leading to issues or degradation of performance which we would likely not be able to help you with.
- When troubleshooting issues we base our assumptions on the host OS behaving as we expect it to. If you have made changes here, there’s a good chance we won’t be able to reproduce the issues locally and therefore won’t be able to help you.
Which data is persisted on devices across updates/power cycles?
Which data is persisted on devices across updates/power cycles?
/data folder, or any named volumes on devices running balenaOS v2.12.0 and above. However, when a device is restarted or power cycled the container is not recreated, meaning all the data that was present in the container’s filesystem before, remains. It’s very important not to rely on this behavior, as containers are recreated on release updates, when environment variables are changed in the UI or API, or when a fleet restart is requested.Why does /data disappear when I move a device between fleets?
Why does /data disappear when I move a device between fleets?
/data remains intact. Newer balenaOS versions automatically purge named volumes when a device is moved to a new fleet.It appears that there is a centralized master running (in cloud) and agents running on devices. Is that accurate?
It appears that there is a centralized master running (in cloud) and agents running on devices. Is that accurate?
What type of encryption do you use over OpenVPN? SSL/TLS/AES-256? Mutual key authentication? over SSH?
What type of encryption do you use over OpenVPN? SSL/TLS/AES-256? Mutual key authentication? over SSH?
What is the performance impact on the gateway device due to encryption?
What is the performance impact on the gateway device due to encryption?
How long does the update process run typically? Do you have any benchmark data? For now it appears to be quick for small updates.
How long does the update process run typically? Do you have any benchmark data? For now it appears to be quick for small updates.
How does the device registration work over the VPN and how do you ensure the identity of the device on the first-time registration?
How does the device registration work over the VPN and how do you ensure the identity of the device on the first-time registration?
If the device is installed behind a proxy/firewall and can’t be reachable on internet via direct connection, what are the pitfalls?
If the device is installed behind a proxy/firewall and can’t be reachable on internet via direct connection, what are the pitfalls?
How do you secure your own cloud to prevent malicious attack which may allow attacker to break-in to our systems?
How do you secure your own cloud to prevent malicious attack which may allow attacker to break-in to our systems?
How long is a balenaOS release maintained for?
How long is a balenaOS release maintained for?
When are device types discontinued?
When are device types discontinued?
What does it mean when a device type is discontinued?
What does it mean when a device type is discontinued?
I have a device that is not on the supported devices list. Can it run on balena?
I have a device that is not on the supported devices list. Can it run on balena?
What to keep in mind when choosing power supply units?
What to keep in mind when choosing power supply units?
Does balena have access to my device, source code and images?
Does balena have access to my device, source code and images?
What are generic architecture images?
What are generic architecture images?
- Generic x86_64 (MBR): These are generic architecture images that use the Master Boot Record (MBR) partition table. They are only recommended for legacy hardware that uses an MBR bootloader.
- Generic x86_64 (GPT): These are generic architecture images that use the GUID Partition Table (GPT). These are recommended for any new UEFI x86_64 device, including modern Intel NUC devices.
- Generic AARCH64: These are generic architecture images recommended for any new UEFI ARM64 device.
What is the difference between the Intel NUC and the Generic x86_64 images?
What is the difference between the Intel NUC and the Generic x86_64 images?