Sign inSign up

teggr/deploy4j-docker-droplet

By teggr

•Updated 11 months ago

A Docker container that can be used to test deploy4j as it's close to a droplet after initialisation

Image
Developer tools
0

254

teggr/deploy4j-docker-droplet repository overview

⁠deploy4j-docker-droplet

A Docker container that can be used to test deploy4j as it's close to a Digital Ocean droplet after initialisation

⁠Overview

This project provides a simple Docker image based on Ubuntu with SSH support. It's designed to simulate a Digital Ocean droplet environment for testing deployment tools like deploy4j⁠.

⁠Features

  • Based on latest Ubuntu image
  • SSH server configured and ready to use
  • Support for SSH public key authentication
  • Root login enabled with SSH keys
  • Scripts for building and running on both Linux and Windows

⁠Running the Container

The container requires you to mount your SSH public key for authentication.

# Running instructions
docker run -d -p 2222:22 --name deploy4j-droplet -v "C:\Users\YOUR_USER\.ssh\id_rsa.pub":/tmp/authorized_keys:ro -v /var/run/docker.sock:/var/run/docker.sock teggr/deploy4j-docker-droplet:latest

# connect via ssh
ssh -o StrictHostKeyChecking=no -p 2222 root@localhost 

# connect to shell
docker exec -it deploy4j-droplet /bin/bash

Tag summary

Content type

Image

Digest

sha256:c3bcd90d3…

Size

95.8 MB

Last updated

11 months ago

docker pull teggr/deploy4j-docker-droplet