# Docker.vim

Docker.vim is an archived Vim plugin for terminal-oriented users to manage Docker images and containers, listing resources and providing pull, build, tag, run, and log actions, with denops-docker.vim as the maintained.

Canonical page: https://ourlocalhost.com/app/2214/docker-vim

## Description

Docker.vim is an archived Vim plugin for terminal-oriented users to manage Docker images and containers, listing resources and providing pull, build, tag, run, and log actions, with denops-docker.vim as the maintained successor.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

31/100 (Low), based on 5 of 5 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 45 (174 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)
- Security check: 75 (no serious findings)

## Links

- GitHub: https://github.com/skanehira/docker.vim

## Common questions

### How do I configure docker.vim to push images to a registry?

Set g:docker_registry_auth with the username, password, email, and server address. You can also read those auth values from a JSON file.

### How do I use tmux when attaching to a container?

Set g:docker_use_tmux to 1 to enable tmux for attaching to a container.

### How do I view a container's logs in Vim?

Use :DockerContainerLogs with the container id or name. If the container is not running, the terminal does not close automatically.

### Can I run docker.vim from a Docker container?

The README gives an example that mounts the host Docker socket into the container at /var/run/docker.sock. This lets the plugin manage the host Docker daemon.

### How do I build an image from the current buffer?

The README shows using DockerImageBuild with -t {tag_name} . for a Dockerfile and -t {tag_name} - to use the buffer contents.

---
Source: Our Local Host (https://ourlocalhost.com/app/2214/docker-vim), the self-hosted and open-source app directory.
