Skip to main content

Type Alias: ContainerWithNewFileOpts

ContainerWithNewFileOpts: object

Type declaration

expand?

optional expand: boolean

Replace "${VAR}" or "$VAR" in the value of path according to the current environment variables defined in the container (e.g. "/$VAR/foo.txt").

owner?

optional owner: string

A user:group to set for the file.

The user and group can either be an ID (1000:1000) or a name (foo:bar).

If the group is omitted, it defaults to the same as the user.

permissions?

optional permissions: number

Permission given to the written file (e.g., 0600).