Neovim 101— Docker

Managing docker containers using Neovim.

5 min readNov 15, 2022


Neovim 101 — Docker

Docker helps developers build, share, and run modern applications. It handles the tedious setup so that we can focus on the code. We will explore integrating Docker into Neovim to improve our development workflow.

This article is part of the Neovim 101 series.

The Neovim configuration files are available in this and this repository.

Getting Started

In several previous articles, we discussed how to effectively use Docker for development.

This article explores how we can integrate Docker with Neovim to make it even easier for us to develop and test any applications.

Terminal User Interface (TUI)

Let’s integrate several useful Docker TUIs with Neovim.


In a previous article, we talked about integrating 3rd-party tools into Neovim, including lazydocker.

lazydocker from Neovim

Using toggleterm.nvim, or any Neovim terminal plugins, we can integrate lazydocker easily.

lazydocker supports

  • viewing the state of the docker or docker-compose container environment
  • viewing logs for a container/service
  • viewing ASCII graphs of the containers’ metrics
  • attaching to a container/service




Software engineer, Data Science and ML practitioner.