DELAPARRA
Index
Color
NL
Category: Docker

none

Explained by Updated

What is none?

none: Disables networking entirely. The container gets only a loopback interface — fully isolated. The none network mode gives a container no network access at all, apart from its own loopback interface. It cannot reach the internet or other containers, and nothing can reach it. That is useful for tasks that only process data: converting files, running untrusted code in a sandbox, or batch jobs that read input from a volume and write results back.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about none

What should you keep in mind with none?

It is a simple, strong form of isolation. If a tool or a dependency is compromised, it cannot send data anywhere or download anything. When you design a job that does not need the network, running it with --network none costs nothing and removes a whole category of risk. Remember that the job then also cannot reach a database or external API, so check its needs first.

What does an example of none look like?

docker run --network none myapp:1.0

At a glance

CategoryDocker
Explained by
Updated

More Docker terms

All terms starting with N

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.