Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Mount type --simple

This is the default mount type.

A --simple mount will mount a directory from the host into the container. Docker users are likely to be familiar with this concept.

Example

file-lister.rapt

FROM docker://debian:trixie

MOUNT --simple list /input

CMD "ls -l /input"

This container can be run, to provide a file listing on the mounted directory:

$ sudo raptor run file-lister -M list /tmp
... <"ls" output would be shown here> ...