mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #38393 # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. ## Testing - [x] QA'd all new/changed functionality manually ## fleetd/orbit/Fleet Desktop - [x] If the change applies to only one platform, confirmed that `runtime.GOOS` is used as needed to isolate changes - [x] Verified that fleetd runs on macOS, Linux and Windows (Linux only) --------- Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
64 lines
1.6 KiB
YAML
64 lines
1.6 KiB
YAML
name: containerd_mounts
|
|
platforms:
|
|
- linux
|
|
description: Information about containerd container mounts.
|
|
evented: false
|
|
columns:
|
|
- name: namespace
|
|
type: text
|
|
required: false
|
|
description: |-
|
|
Namespace of the container.
|
|
- name: container_id
|
|
type: text
|
|
required: false
|
|
description: |-
|
|
Container ID.
|
|
- name: type
|
|
type: text
|
|
required: false
|
|
description: |-
|
|
Mount type (e.g. bind, tmpfs, proc).
|
|
- name: source
|
|
type: text
|
|
required: false
|
|
description: |-
|
|
Source path on the host.
|
|
- name: destination
|
|
type: text
|
|
required: false
|
|
description: |-
|
|
Destination path in the container.
|
|
- name: options
|
|
type: text
|
|
required: false
|
|
description: |-
|
|
Mount options (comma-separated).
|
|
examples: |-
|
|
Get all mounts for all containers:
|
|
|
|
```
|
|
SELECT * FROM containerd_mounts;
|
|
```
|
|
|
|
Get mounts for a specific container:
|
|
|
|
```
|
|
SELECT * FROM containerd_mounts WHERE container_id='abc123';
|
|
```
|
|
|
|
Get all bind mounts:
|
|
|
|
```
|
|
SELECT * FROM containerd_mounts WHERE type='bind';
|
|
```
|
|
|
|
notes: |-
|
|
This table is not a core osquery table. It is included as part of Fleet's agent
|
|
([fleetd](https://fleetdm.com/docs/get-started/anatomy#fleetd)).
|
|
|
|
The `containerd_mounts` table is available on Linux systems with containerd installed. It provides
|
|
information about the mounts configured for containers managed by containerd.
|
|
|
|
This table is useful for systems using containerd as a container runtime, such as those running
|
|
Kubernetes. See the `docker_container_mounts` table for information about mounts in Docker containers.
|