For various reasons, I’m trying to port a system using C, Java 8, Tomcat 8, Nvidia CUDA…onto a Nvidia Jetson TX2. I know that the best practice is to split up these applications into separate services but that requires more refactoring time.
I started with the “stock” dockerfile.template base image:
which has JDK/JRE 7 and it can run in privileged mode with systemd, cuda driver, tomcat, it all works. Except we need JDK 8.
So, I tried the more recent:
But neither of those can run systemd, even if I
apt-get install -y systemd and have
ENV INITSYSTEM on
I’ve created the repository https://github.com/EIODiagnostics/balena-jetson-tx2-experiments to test this issue. I’ve added a docker-compose.yml file to make sure that my container is privileged. (because our account allows us to create multicontainer applications)
Suggestions on how to get systemd running?