You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-16Lines changed: 9 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,8 +62,6 @@ compiled from the following branch: [AkihiroSuda/runc/tree/demo-rootless](https:
62
62
You need to have `runc` (see the top section for rootless mode) and `newuidmap` installed.
63
63
On Ubuntu, `newuidmap` is provided by the `uidmap` package.
64
64
65
-
For the FUSE backend, you will also need `fusermount` installed.
66
-
67
65
NOTE: These steps work only for Linux. Compile and run in a container (explained below) if you're on Windows or MacOS.
68
66
69
67
#### Binaries
@@ -131,7 +129,7 @@ Build an image from a Dockerfile.
131
129
132
130
Flags:
133
131
134
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
132
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
135
133
-build-arg Set build-time variables (default: [])
136
134
-d enable debug logging (default: false)
137
135
-f Name of the Dockerfile (Default is 'PATH/Dockerfile') (default: <none>)
@@ -184,7 +182,7 @@ List images and digests.
184
182
185
183
Flags:
186
184
187
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
185
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
188
186
-d enable debug logging (default: false)
189
187
-f Filter output based on conditions provided (default: [])
190
188
-state directory to hold the global state (default: /tmp/img)
@@ -207,7 +205,7 @@ Pull an image or a repository from a registry.
207
205
208
206
Flags:
209
207
210
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
208
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
211
209
-d enable debug logging (default: false)
212
210
-state directory to hold the global state (default: /tmp/img)
213
211
```
@@ -229,7 +227,7 @@ Push an image or a repository to a registry.
229
227
230
228
Flags:
231
229
232
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
230
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
233
231
-d enable debug logging (default: false)
234
232
-state directory to hold the global state (default: /tmp/img)
235
233
```
@@ -250,7 +248,7 @@ Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE.
250
248
251
249
Flags:
252
250
253
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
251
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
254
252
-d enable debug logging (default: false)
255
253
-state directory to hold the global state (default: /tmp/img)
256
254
```
@@ -270,7 +268,7 @@ Save an image to a tar archive (streamed to STDOUT by default).
270
268
271
269
Flags:
272
270
273
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
271
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
274
272
-d enable debug logging (default: false)
275
273
-o Write to a file, instead of STDOUT (default: <none>)
276
274
-state directory to hold the global state (default: /tmp/img)
@@ -294,7 +292,7 @@ Remove one or more images.
294
292
295
293
Flags:
296
294
297
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
295
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
298
296
-d enable debug logging (default: false)
299
297
-state directory to hold the global state (default: /tmp/img)
300
298
```
@@ -309,7 +307,7 @@ Show image disk usage.
309
307
310
308
Flags:
311
309
312
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
310
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
313
311
-d enable debug logging (default: false)
314
312
-f Filter output based on conditions provided (snapshot ID supported) (default: <none>)
315
313
-state directory to hold the global state (default: /tmp/img)
@@ -342,7 +340,7 @@ If no server is specified, the default (https://index.docker.io/v1/) is used.
342
340
343
341
Flags:
344
342
345
-
-backend backend for snapshots ([auto fuse native overlayfs]) (default: auto)
343
+
-backend backend for snapshots ([auto native overlayfs]) (default: auto)
346
344
-d enable debug logging (default: false)
347
345
-p Password (default: <none>)
348
346
-password-stdin Take the password from stdin (default: false)
@@ -377,11 +375,6 @@ You can also use `overlayfs`
377
375
backend, but that requires a kernel patch from Ubuntu to be unprivileged,
378
376
see [#22](https://github.com/genuinetools/img/issues/22).
379
377
380
-
#### fuse
381
-
382
-
The `fuse` backend runs completely in userspace. It is a bit buggy and a work
383
-
in progress so hang tight.
384
-
385
378
### Unprivileged Mounting
386
379
387
380
To mount a filesystem without root accses, `img` automatically invokes [`newuidmap(1)`](http://man7.org/linux/man-pages/man1/newuidmap.1.html)/[`newgidmap(1)`](http://man7.org/linux/man-pages/man1/newgidmap.1.html) SUID binaries to prepare SUBUIDs/SUBGIDs, which is typically required by `apt`.
0 commit comments