# volumes

Published articles for volumes.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Kubernetes v1.37: Hardening Container Storage with Bind Mount Options and EmptyDir Permissions

DevFeed: [Kubernetes v1.37: Hardening Container Storage with Bind Mount Options and EmptyDir Permissions](<https://devfeed.tech/articles/kubernetes-v1-37-hardening-container-storage-with-bind-mount-options-and-emptydir-permissions-31483.md>)

Original publisher: [Read original article](<https://kubernetes.io/blog/2026/09/16/kubernetes-v1-37-hardening-container-storage/>)

Author: Nispriha Jagan; Neeraj Krishna Gopalakrishna

Published: 2026-09-16T18:30:00Z

Content type: article

Language: en

Sources: [Kubernetes Blog](<https://devfeed.tech/sources/kubernetes-blog.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Security](<https://devfeed.tech/topics/security.md>), [mount](<https://devfeed.tech/topics/mount.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [chmod](<https://devfeed.tech/topics/chmod.md>), [Unix](<https://devfeed.tech/topics/unix.md>)

Tags: [chmod](<https://devfeed.tech/tags/chmod.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [hardening](<https://devfeed.tech/tags/hardening.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mount](<https://devfeed.tech/tags/mount.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [storage](<https://devfeed.tech/tags/storage.md>), [volume](<https://devfeed.tech/tags/volume.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

Kubernetes v1.37 adds bind mount options and emptyDir permission modes to strengthen storage security. The article explains how noexec, nosuid, nodev, Unix permissions, and the sticky bit can help enforce security policies on writable volumes.

### Source excerpt

Kubernetes v1.37 brings important storage security features: emptyDir permission modes and bind mount options. They help application programmers and security professionals implement rigorous security policies, for example, prohibiting deletion of files across containers or execution of arbitrary binaries from writable volumes, directly in Kubernetes without any complicated circumvention. Linux storage and permission fundamentals Before diving into the new Kubernetes features, let us briefly review the low-level Linux security mechanisms that make them possible. Bind mount flags When Linux mounts or remounts a directory, Virtual File System (VFS) flags control what actions are permitted on that filesystem: noexec: Do not permit direct execution of any binaries on the mounted filesystem. nosuid: Do not allow set-user-identifier or set-group-identifier bits to take effect. nodev: Do not interpret character or block special devices on the file system. Directory permissions and the sticky bit Standard Unix permissions regulate access across three scopes: Owner, Group, and Others (e.g., 0755 or 0777). Beyond standard read, write, and execute bits, Linux supports the sticky bit (as in mode 01777). When applied to a directory, the sticky bit ensures that a file inside that directory can only be deleted or renamed by the file's owner or root. This is essential for shared writable directories like /tmp. Motivation for the improvements Why does Kubernetes need bind mount options and emptyDir permissions? The primary goal of these features is to increase the security of Kubernetes workloads by allowing security-related bind mount options on volume mounts. By default, volumes are bind-mounted into containers by the container runtime and kubelet without noexec, nosuid, or nodev flags. This default can undermine security. For example, with noexec missing, a compromised process can use any writable volume (emptyDir, PersistentVolume, etc.) to download, chmod +x, and execute arbitra

## Consuming OpenTelemetry Entity Events with an Event-Sourced Consumer

DevFeed: [Consuming OpenTelemetry Entity Events with an Event-Sourced Consumer](<https://devfeed.tech/articles/what-can-you-do-with-opentelemetry-entity-events-32567.md>)

Original publisher: [Read original article](<https://opentelemetry.io/blog/2026/consuming-opentelemetry-entity-events/>)

Author: OpenTelemetry Authors; Docs CC BY

Published: 2026-08-14T07:10:08Z

Content type: tutorial

Language: en

Sources: [Blog on OpenTelemetry](<https://devfeed.tech/sources/blog-on-opentelemetry.md>)

Topics: [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [observability](<https://devfeed.tech/topics/observability.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [logs](<https://devfeed.tech/tags/logs.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [observability](<https://devfeed.tech/tags/observability.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [services](<https://devfeed.tech/tags/services.md>), [systems](<https://devfeed.tech/tags/systems.md>), [traces](<https://devfeed.tech/tags/traces.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

This post explains how to consume OpenTelemetry entity events, which represent the inventory and lifecycle changes of hosts, interfaces, switches, services, and volumes. It presents an open source consumer as a worked example and recommends an event-sourced pipeline that preserves both current state and history.

### Source excerpt

Metrics, logs, and traces tell you how your systems behave. They are much quieter about what actually exists: which hosts, interfaces, switches, services, and volumes are out there right now, and, crucially, how that picture changed over the last hour, day, or quarter. That living inventory has stayed a blind spot in the open observability stack. OpenTelemetry's entity events, coming out of the Entities SIG and described in the Entity Data Model, are the piece that starts to close it. Entity events are a stream. The interesting question is "what do I do once they arrive?" This post walks through one answer, using an open source consumer as a worked example.

## Spotlight on SIG Storage

DevFeed: [Spotlight on SIG Storage](<https://devfeed.tech/articles/spotlight-on-sig-storage-17598.md>)

Original publisher: [Read original article](<https://www.kubernetes.dev/blog/2026/06/15/sig-storage-spotlight-2026/>)

Author: The Kubernetes Authors

Published: 2026-06-15T00:00:00Z

Content type: article

Language: en

Sources: [Kubernetes Contributors Blog](<https://devfeed.tech/sources/kubernetes-contributors-blog.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [systems](<https://devfeed.tech/topics/systems.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [backups](<https://devfeed.tech/tags/backups.md>), [containers](<https://devfeed.tech/tags/containers.md>), [distributed-system](<https://devfeed.tech/tags/distributed-system.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [storage](<https://devfeed.tech/tags/storage.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

An interview with Xing Yang, co-chair of Kubernetes SIG Storage, covering the group's role in persistent data and volume management, Kubernetes CSI maintenance, recent storage features, and data protection work such as Volume Group Snapshot and Changed Block Tracking.

### Source excerpt

In our ongoing SIG Spotlight series, we shine a light on the groups that keep the Kubernetes project moving forward. This time, we catch up with SIG Storage , the group responsible for persistent data, volume management, and the interfaces that connect Kubernetes workloads to the storage systems beneath them. We spoke with Xing Yang , Co-Chair of SIG Storage and Software Engineer at VMware by Broadcom, about the SIG's history, the features shipping in recent Kubernetes releases, and where storage in Kubernetes is headed as AI workloads become the norm. Introductions Could you introduce yourself and share your role(s) within SIG Storage? My name is Xing Yang , a software engineer at VMware by Broadcom. I'm a co-chair in SIG Storage, alongside another co-chair Saad Ali from Google. There are also two Tech Leads in SIG Storage: Michelle Au from Google and Jan Šafránek from Red Hat. What first drew you to storage in Kubernetes, and how did you start contributing? I have always been working in the storage domain, so SIG Storage was a natural place for me to get started when I began to learn Kubernetes. I started attending SIG Storage meetings , trying to figure out what I could do to help. This was before the first Container Storage Interface (CSI) release -- lots of things were still evolving. It was a very exciting time. What subprojects or areas do you actively maintain or review today? I'm a maintainer in Kubernetes CSI. There are multiple CSI sidecars -- such as csi-provisioner, csi-attacher, csi-resizer, and csi-snapshotter -- that we need to release following every Kubernetes release. I'm also a co-chair for a Data Protection Working Group co-sponsored by SIG Storage and SIG Apps . Several features have come out of that WG aimed at filling gaps in data protection support within Kubernetes. One is Volume Group Snapshot , which provides crash-consistent group snapshots for multiple volumes used by an application. Changed Block Tracking (CBT) is another critical feature

## From Docker Compose to Kubernetes: A Practical Migration Guide (2026)

DevFeed: [From Docker Compose to Kubernetes: A Practical Migration Guide (2026)](<https://devfeed.tech/articles/from-docker-compose-to-kubernetes-a-practical-migration-guide-2026-17644.md>)

Original publisher: [Read original article](<https://www.urolime.com/blogs/from-docker-compose-to-kubernetes-a-practical-migration-guide-2026/>)

Author: Urolime Technologies

Published: 2026-06-11T13:06:36Z

Content type: tutorial

Language: en

Sources: [Kubernetes Archives - Urolime Blogs](<https://devfeed.tech/sources/kubernetes-archives-urolime-blogs.md>)

Topics: [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [complexity](<https://devfeed.tech/tags/complexity.md>), [compose](<https://devfeed.tech/tags/compose.md>), [container](<https://devfeed.tech/tags/container.md>), [guide](<https://devfeed.tech/tags/guide.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-consulting-services](<https://devfeed.tech/tags/kubernetes-consulting-services.md>), [kubernetes-services](<https://devfeed.tech/tags/kubernetes-services.md>), [migration](<https://devfeed.tech/tags/migration.md>), [migration-guide](<https://devfeed.tech/tags/migration-guide.md>), [services](<https://devfeed.tech/tags/services.md>), [speed](<https://devfeed.tech/tags/speed.md>), [systems](<https://devfeed.tech/tags/systems.md>), [testing](<https://devfeed.tech/tags/testing.md>), [volumes](<https://devfeed.tech/tags/volumes.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

A practical guide comparing Docker Compose with Kubernetes for applications that outgrow local or small deployments. It explains Kubernetes capabilities such as scaling, self-healing, declarative infrastructure, service discovery, load balancing, and portability, and introduces the architectural and operational changes involved in migration.

### Source excerpt

In the very first stages of application development, approach simplicity and speed are the main aspects that matter. That's why Docker Compose has long been a preferred tool for developers who are building and testing multi-container applications. However, as systems grow - in feature, size and complexity, organizations inevitably reach a point where Compose no [...]

## AI sandboxes & volumes: isolated environments for coding agents

DevFeed: [AI sandboxes & volumes: isolated environments for coding agents](<https://devfeed.tech/articles/ai-sandboxes-volumes-isolated-environments-for-coding-agents-30717.md>)

Original publisher: [Read original article](<https://www.windmill.dev/blog/launch-week-ai-sandboxes>)

Author: Ruben Fiszel

Published: 2026-04-01T00:00:00Z

Content type: article

Language: en

Sources: [Windmill Blog](<https://devfeed.tech/sources/windmill-blog.md>)

Topics: [AI Sandbox](<https://devfeed.tech/topics/ai-sandbox.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>), [codex](<https://devfeed.tech/topics/codex.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [codex](<https://devfeed.tech/tags/codex.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [launch-week](<https://devfeed.tech/tags/launch-week.md>), [permission](<https://devfeed.tech/tags/permission.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [sandboxes](<https://devfeed.tech/tags/sandboxes.md>), [scope](<https://devfeed.tech/tags/scope.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

Windmill introduces AI sandboxes that run Claude Code, Codex, and custom agents in isolated environments with persistent volumes. The article explains how annotations provide process isolation and storage, including synchronization with object storage, exclusive volume leases, caching, and per-user or per-group permissions.

### Source excerpt

Introducing AI sandboxes: run Claude Code, Codex, or custom agents in isolated environments with persistent volumes on Windmill.

## Consistent Sizing for Memory Volumes in Kubernetes

DevFeed: [Consistent Sizing for Memory Volumes in Kubernetes](<https://devfeed.tech/articles/consistent-sizing-for-memory-volumes-in-kubernetes-8.md>)

Original publisher: [Read original article](<https://blog.abhimanyu-saharan.com/posts/consistent-sizing-for-memory-volumes-in-kubernetes>)

Author: Abhimanyu Saharan

Published: 2025-05-29T00:00:00Z

Content type: article

Language: en

Sources: [Abhimanyu Saharan](<https://devfeed.tech/sources/abhimanyu-s-blog.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>)

Tags: [consistency](<https://devfeed.tech/tags/consistency.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [memory](<https://devfeed.tech/tags/memory.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

Kubernetes now sizes memory-backed emptyDir volumes according to pod memory limits, improving portability and consistency across different node types.

### Source excerpt

Kubernetes now aligns memory-backed emptyDir volumes with pod memory limits for improved portability and consistency across node types.

## Best practices for writing Dockerfiles - Follow "Filesystem Hierarchy Standard"

DevFeed: [Best practices for writing Dockerfiles - Follow "Filesystem Hierarchy Standard"](<https://devfeed.tech/articles/best-practices-for-writing-dockerfiles-follow-filesystem-hierarchy-standard-27701.md>)

Original publisher: [Read original article](<https://gagor.pro/2024/03/best-practices-for-writing-dockerfiles-follow-filesystem-hierarchy-standard/>)

Author: Tom

Published: 2024-03-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [maintenance](<https://devfeed.tech/topics/maintenance.md>)

Tags: [best-practices](<https://devfeed.tech/tags/best-practices.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-container-maintainability](<https://devfeed.tech/tags/docker-container-maintainability.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [docker-image-organization](<https://devfeed.tech/tags/docker-image-organization.md>), [dockerfile-best-practices](<https://devfeed.tech/tags/dockerfile-best-practices.md>), [dockerfiles](<https://devfeed.tech/tags/dockerfiles.md>), [fhs-guidelines](<https://devfeed.tech/tags/fhs-guidelines.md>), [filesystem-hierarchy-standard](<https://devfeed.tech/tags/filesystem-hierarchy-standard.md>), [linux](<https://devfeed.tech/tags/linux.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

This tutorial explains how to organize Docker images according to the Filesystem Hierarchy Standard. It covers locations for scripts, binaries, Java artifacts, web content, and temporary or writable files, recommending volumes for files that containers must write.

### Source excerpt

Learn best practices for writing Dockerfiles by following the Filesystem Hierarchy Standard (FHS) to enhance organization and maintainability of your Docker images.

## Docker Best Practices - Use VOLUME for temporary and mutable files

DevFeed: [Docker Best Practices - Use VOLUME for temporary and mutable files](<https://devfeed.tech/articles/docker-best-practices-use-volume-for-temporary-and-mutable-files-27676.md>)

Original publisher: [Read original article](<https://gagor.pro/2022/09/docker-best-practices-use-volume-for-temporary-and-mutable-files/>)

Author: Tom

Published: 2022-09-12T00:00:00Z

Content type: article

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>)

Tags: [best-practices](<https://devfeed.tech/tags/best-practices.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-container-performance](<https://devfeed.tech/tags/docker-container-performance.md>), [docker-image-maintenance](<https://devfeed.tech/tags/docker-image-maintenance.md>), [docker-image-optimization](<https://devfeed.tech/tags/docker-image-optimization.md>), [docker-volume-usage](<https://devfeed.tech/tags/docker-volume-usage.md>), [dockerfile-best-practices](<https://devfeed.tech/tags/dockerfile-best-practices.md>), [dockerfiles](<https://devfeed.tech/tags/dockerfiles.md>), [performance](<https://devfeed.tech/tags/performance.md>), [temporary-file-locations-docker](<https://devfeed.tech/tags/temporary-file-locations-docker.md>), [volume](<https://devfeed.tech/tags/volume.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

The article recommends using Dockerfile VOLUME declarations for temporary and mutable file locations. It explains that volumes are separate from layered image filesystems, can improve performance, and help keep images clean, while noting that unused anonymous volumes require periodic cleanup.

### Source excerpt

Learn best practices for writing Dockerfiles by using VOLUME for all mutable, temporary file locations to enhance performance and maintain cleaner images.

## Cloud Native Distributed Storage in Kubernetes with Longhorn

DevFeed: [Cloud Native Distributed Storage in Kubernetes with Longhorn](<https://devfeed.tech/articles/cloud-native-distributed-storage-in-kubernetes-with-longhorn-10594.md>)

Original publisher: [Read original article](<https://technotim.com/posts/longhorn-install/>)

Author: Techno Tim

Published: 2021-01-02T14:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [rancher](<https://devfeed.tech/topics/rancher.md>)

Tags: [backups](<https://devfeed.tech/tags/backups.md>), [cloud-native](<https://devfeed.tech/tags/cloud-native.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [install](<https://devfeed.tech/tags/install.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [quick-start](<https://devfeed.tech/tags/quick-start.md>), [rancher](<https://devfeed.tech/tags/rancher.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>), [storage](<https://devfeed.tech/tags/storage.md>), [ui](<https://devfeed.tech/tags/ui.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

A tutorial about using Longhorn, an open-source distributed block storage system for Kubernetes. It covers storage management on Kubernetes clusters, including volumes, backups, snapshots, and disaster recovery, with or without Rancher.

### Source excerpt

Storage in Kubernetes is hard, complicated, and messy.Configuring volumes, mounts, and persistent volumes claims and getting it right can be a challenge.It's also challenging to manage that storage and replicate it across all your Kubernetes clusters.It's also been very challenging to do this on bare metal, outside of a cloud provider.That's where Longhorn comes.Longhorn is an open source, a CN...

## Data Persistency and Advanced SQL Server Disk Topologies in Kubernetes

DevFeed: [Data Persistency and Advanced SQL Server Disk Topologies in Kubernetes](<https://devfeed.tech/articles/data-persistency-and-advanced-sql-server-disk-topologies-in-kubernetes-17510.md>)

Original publisher: [Read original article](<https://www.nocentino.com/posts/2019-05-08-data-persistency-and-advanced-sql-server-disk-topologies-in-kubernetes/>)

Author: Anthony Nocentino

Published: 2019-05-08T15:09:33Z

Content type: tutorial

Language: en

Sources: [Kubernetes on Anthony Nocentino's Blog](<https://devfeed.tech/sources/kubernetes-on-anthony-nocentino-s-blog.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [sql-server](<https://devfeed.tech/topics/sql-server.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [databases](<https://devfeed.tech/tags/databases.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [performance](<https://devfeed.tech/tags/performance.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>), [stateful](<https://devfeed.tech/tags/stateful.md>), [stateless](<https://devfeed.tech/tags/stateless.md>), [storage](<https://devfeed.tech/tags/storage.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

This tutorial explains how to deploy SQL Server in Kubernetes with Persistent Volumes for system and user databases. It describes how Kubernetes Pod recreation affects stateful workloads and how environment variables and persistent storage preserve SQL Server configuration and database state.

### Source excerpt

When working with SQL Server in containers and Kubernetes storage is a key concept. In this post, we're going to walk through how to deploy SQL Server in Kubernetes with Persistent Volumes for the system and user databases. One of the key principals of Kubernetes is the ephemerality of Pods. No Pod is every redeployed, a completely new Pod is created. If a Pod dies, for whatever reason, a new Pod is created in its place there is no continuity in the state of that Pod. The newly created Pod will go back to the initial state of the container image defined in the Pod's spec. This is very valuable for stateless workloads, not so much for stateful workloads like SQL Server.

## Mount volumes and when not to mount volumes, that is the question

DevFeed: [Mount volumes and when not to mount volumes, that is the question](<https://devfeed.tech/articles/mount-volumes-and-when-not-to-mount-volumes-that-is-the-question-19768.md>)

Original publisher: [Read original article](<https://cloud.blog.csc.fi/2018/12/mount-volumes-and-when-not-to-mount.html>)

Author: Unknown (noreply@blogger.com)

Published: 2018-12-31T06:50:00Z

Content type: article

Language: en

Sources: [CSC - IT Center For Science - Cloud Team](<https://devfeed.tech/sources/csc-it-center-for-science-cloud-team.md>)

Topics: [mount](<https://devfeed.tech/topics/mount.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [cinder](<https://devfeed.tech/tags/cinder.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cpouta](<https://devfeed.tech/tags/cpouta.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [fstab](<https://devfeed.tech/tags/fstab.md>), [image](<https://devfeed.tech/tags/image.md>), [linux](<https://devfeed.tech/tags/linux.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [mount](<https://devfeed.tech/tags/mount.md>), [openstack](<https://devfeed.tech/tags/openstack.md>), [pouta](<https://devfeed.tech/tags/pouta.md>), [server](<https://devfeed.tech/tags/server.md>), [storage](<https://devfeed.tech/tags/storage.md>), [systemd](<https://devfeed.tech/tags/systemd.md>), [volume](<https://devfeed.tech/tags/volume.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

This article explains how to mount block-device volumes in Linux instances and why relying on standard /etc/fstab entries can prevent an instance from booting when a volume is missing or differs after an image-based deployment. It recommends mount options such as nofail and discusses noauto.

### Source excerpt

Some background: As part of the CSC Pouta Cloud Openstack installation we provide the cinder service. This allows our customers to attach block devices to their instances. A common way to illustrate what this means is to say: ".. it's like attaching a USB drive to the instance. " - Some Openstack trainer After attaching the block devices one has to format it with a filesystem and mount it. The usual way to mount block devices (in most Linux based distributions I've seen, if you know other ways please comment below!) every time the server reboots is to put something like this into /etc/fstab: /dev/vdb1 /mnt ext4 defaults 0 0 All clear so far I hope. It mounts block device /dev/vdb to /mnt as filesystem ext4 with the defaults mount options and the last two fields (numbers) are about dumping and file system checks. (Sometimes it's wise to use UUID or LABEL and not /dev/vdb1 in case you have more than two volumes.) But what happens if disk with is not there anymore? Well, with the above fstab your instance will not boot into the operating system. You'll be stuck having to perhaps enter single user mode or attaching a volume and then rebooting and modifying fstab. Single user mode is probably OK sometimes (it's inconvenient and takes time). But let's say you took a snapshot of an instance in Openstack with the glance service. This creates an image of the root disk. If you then spawn a new instance with that image as a root disk it will still have that /dev/vdb1 in /etc/fstab. Hey ho, the new instance booted from the image will not boot. Here you could of course just create a new volume and attach it. But if you used UUID or LABEL in fstab then it wouldn't find those and also break! So what is the best(tm) way? By using some nice fstab mount options. For example nofail UUID=1c7fc2f-f9d9-4e01-8d0f-190f05416831 /mnt ext4 nofail,defaults 0 0 There's another mount option called "noauto". The difference is put quite nicely in this stackoverflow question which has a piece from

## How to install and use Docker Compose

DevFeed: [How to install and use Docker Compose](<https://devfeed.tech/articles/how-to-install-and-use-docker-compose-27640.md>)

Original publisher: [Read original article](<https://gagor.pro/2016/02/how-to-install-and-use-docker-compose/>)

Author: Tom

Published: 2016-02-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [bash](<https://devfeed.tech/tags/bash.md>), [command](<https://devfeed.tech/tags/command.md>), [commands](<https://devfeed.tech/tags/commands.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [container](<https://devfeed.tech/tags/container.md>), [containerization](<https://devfeed.tech/tags/containerization.md>), [containers](<https://devfeed.tech/tags/containers.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [devops](<https://devfeed.tech/tags/devops.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-compose](<https://devfeed.tech/tags/docker-compose.md>), [examples](<https://devfeed.tech/tags/examples.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [networks](<https://devfeed.tech/tags/networks.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [run](<https://devfeed.tech/tags/run.md>), [services](<https://devfeed.tech/tags/services.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [updated](<https://devfeed.tech/tags/updated.md>), [volumes](<https://devfeed.tech/tags/volumes.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

A practical guide to installing and using Docker Compose to automate multi-container Docker applications. It covers installation options, Bash completion, configuration files, running environments, detached execution, and cleanup commands.

### Source excerpt

A quick guide to installing and using Docker Compose for automating multi-container Docker applications, including command examples and a sample configuration file.

## Some useful commands in Docker

DevFeed: [Some useful commands in Docker](<https://devfeed.tech/articles/some-useful-commands-in-docker-27647.md>)

Original publisher: [Read original article](<https://gagor.pro/2016/02/some-useful-commands-in-docker/>)

Author: Tom

Published: 2016-02-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [docker images](<https://devfeed.tech/topics/docker-images.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [commands](<https://devfeed.tech/tags/commands.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-images](<https://devfeed.tech/tags/docker-images.md>), [image](<https://devfeed.tech/tags/image.md>), [logs](<https://devfeed.tech/tags/logs.md>), [running](<https://devfeed.tech/tags/running.md>), [volumes](<https://devfeed.tech/tags/volumes.md>)

### AI overview

A practical Docker tutorial listing commands for managing containers, images, and volumes, running and entering containers, viewing build logs, and building an image from the current directory.

### Source excerpt

I started playing with Docker and here I will write some commands that where not so obvious at beginning 😃 List running containers: docker ps List also not running containers: docker ps -a Remove all containers (be careful with that): docker rm $(docker ps -a -q) Remove all images: docker rmi $(docker images -q) Docker won't remove any old volumes used by containers, so after some time you may be interested in deleting them all: