SShortSingh.
Back to feed

Essential Docker Commands Every Developer Should Know

0
·1 views

A handy reference guide covers the most commonly used Docker commands for developers working with containers. Key commands include checking the installed Docker version, running a test image, and listing active or stopped containers. Users can also view all locally stored images along with their names, tags, sizes, and IDs. Additional commands allow developers to gracefully stop a running container or delete a stopped one using its container ID. For convenience, a single force-remove command can stop and delete a container in one step.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Archify Open-Source Tool Brings Validation and Structure to AI-Generated Architecture Diagrams

Archify is an open-source diagramming and validation engine built by developer tt-a1i to address reliability issues in architecture diagrams produced by AI coding agents like Claude Code, Cursor, and Codex CLI. Instead of generating unstructured markdown charts, it requires AI agents to output a typed JSON Intermediate Representation that is then compiled deterministically into interactive HTML and SVG files. The tool validates layout hierarchies, node boundaries, and structural relationships before rendering any visual artifact. Archify supports five diagram types — including architecture, workflow, sequence, data flow, and lifecycle — and enables side-by-side snapshot diffing during pull request reviews. It integrates with modern AI coding environments via a simple CLI command and exports diagrams in formats including SVG, PNG, and WebM animations.

0
ProgrammingDEV Community ·

Developer builds minimal distributed lock server in Go using buffered channels

A developer has released Locking-Center, a lightweight distributed lock server written in Go, designed to serialize access to shared resources across multiple services and machines. The tool uses a single buffered Go channel per key to represent lock state, where sending acquires the lock and receiving releases it. Crash safety is ensured through a write-ahead log with CRC32C checksums, and log compaction is handled via atomic file renames to prevent data loss during failures. The wire protocol is intentionally minimal — a single TCP connection per request with a one-byte response — making it straightforward to implement clients across nine languages including Go, Rust, Python, Java, and C. The project aims to offer a simpler alternative to Redis-based locking or full consensus systems for teams needing a standalone, dependency-light locking primitive.

0
ProgrammingDEV Community ·

Developer Builds Custom E-Ink Conference Badge with QR Code Social Links

A developer has created a personalized e-ink conference badge using the Badgeware Badger 2350, a device powered by an RP2350 chip with WiFi, a 1000mAh battery, and MicroPython support. The badge displays QR codes linking visitors to the creator's LinkedIn and personal website, making it easy to connect at events. Several hundred lines of Python code were written with AI assistance to power the badge's functionality. The Badgeware platform includes a desktop simulator, allowing developers to test their code locally before deploying it to the physical device via USB-C. The creator plans to showcase the badge at the Commit Your Code 2026 conference in Dallas.

0
ProgrammingDEV Community ·

Developer shares SQL impersonation method to verify Supabase Row Level Security in SaaS apps

A developer building a multi-tenant SaaS starter kit using Next.js, Supabase, and Stripe wanted to verify that Row Level Security (RLS) policies actually prevented one user from accessing another's data. Rather than assuming the Postgres-based policies were correct, they ran impersonation tests directly in the SQL editor by temporarily assuming a user's identity within a rolled-back transaction. The test confirmed that RLS silently filters out unauthorised rows — returning zero results instead of an error — which is the expected success signal. The same approach was applied to write operations, ensuring that delete attempts on another user's rows returned zero rows affected. The developer notes the test takes about two minutes and is particularly valuable for catching privacy failures before they reach production.