...
Swarm images load into memory so the base OS is not editable once started. Navigating to ‘/etc/’ and making lasting changes on a config file are not possible. It is not possible to add packages to the probe build using tools like yum or apt or even dpkd dpkg / rpm.
This article shows how to drop a precompiled binary in with the associated library.
...