---
description: Installing and running an SSHd service on Docker
keywords: docker, example, package installation,  networking
title: Dockerize an SSH service
redirect_from:
  - /engine/examples/running_ssh_service/
---

Running sshd inside a container is discouraged, however, it might be still useful
for certain use cases such as port forwarding.

See [https://github.com/linuxserver/docker-openssh-server](https://github.com/linuxserver/docker-openssh-server)
for an example of Dockerized SSH service.