The Simplest Way to Make Domino Data Lab and Ubuntu Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running Domino Data Lab and Ubuntu together gives data teams a stable base for model training. The platform launches jobs inside Linux containers built on Ubuntu base images. This pair lets data scientists write code in notebooks while Linux handles compute packages. Platform engineers manage the base images and system rules from one place. Teams can then train models, run batch jobs, and host APIs with clean controls. How Domino Data Lab and Ubuntu handle login and data flow Every workspace

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Running Domino Data Lab and Ubuntu together gives data teams a stable base for model training. The platform launches jobs inside Linux containers built on Ubuntu base images. This pair lets data scientists write code in notebooks while Linux handles compute packages. Platform engineers manage the base images and system rules from one place. Teams can then train models, run batch jobs, and host APIs with clean controls.

How Domino Data Lab and Ubuntu handle login and data flow

Every workspace or batch job starts from a container image. Most teams pick Ubuntu as the core operating system for these images. It offers broad package support for Python, R, and GPU drivers. When a user starts a run, the platform pulls the chosen image. It mounts the project files and injects user keys into the container.

Identity starts at the platform login screen using your corporate single sign-on. Once inside a workspace, the Linux user inside Ubuntu needs database and storage permissions. Data flows from cloud buckets or SQL databases into the Ubuntu container memory. After the script finishes, the system writes results back to central storage. The platform then shuts down the Ubuntu instance to save compute costs.

System admins must align platform roles with Linux file permissions. If the Ubuntu user ID does not match the storage rules, reads will fail. Clear mapping between the web user and the OS user stops permission errors.

Common failure modes and how to scope roles

Many teams bake shared database keys right into their custom Ubuntu images. This is a major risk because anyone using that image gets those keys. Other teams store long-lived tokens in shared project files. When multiple people use one service account, audit logs lose track of who ran what.

Another common issue comes from overly broad sudo rights inside the container. Users often ask for root rights to install a quick apt package. Giving full root inside the container can expose host network paths or mounted secrets. Unlogged queries from notebook terminals also make security reviews very hard.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, lock down the Ubuntu base image during the build step. Install all needed system libraries through an automated build pipeline. Remove root rights from the runtime user inside the image. Give each project its own scoped role for database and storage reads. Limit network paths so the Ubuntu container can only reach approved data sources. Masking rules can also rewrite sensitive fields like emails, phone numbers, card numbers, and national IDs in query results.

Keeping base images clean and updated

Data science images grow large and stale if nobody maintains them. Old Ubuntu packages often hold known security flaws that scanners will flag. Platform teams should rebuild base images on a regular schedule. This pulls in the latest Linux security patches and driver updates.

Keep the number of supported base images small across the company. Offer one standard CPU image and one standard GPU image on Ubuntu. Let users add small Python packages at runtime through virtual environments. This keeps the core OS clean while giving researchers the tools they need. Track every image version so you can trace which packages ran a past model.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Why do teams pick Ubuntu for Domino Data Lab compute images?

Ubuntu has strong support for machine learning libraries, CUDA drivers, and standard Linux tools. This makes it easy for engineers to build reliable base images for data science workloads.

How should users install new Linux packages without root access?

Teams should request system packages through a central image build pipeline. For day-to-day work, users can install language libraries in local user folders without needing root rights.

How can we stop users from putting database keys in Ubuntu images?

Scan all image build files for secrets before publishing them to the registry. Inject short-lived credentials at runtime based on the logged-in user rather than baking keys into files.

The query runs. The emails stay hidden.