Last active
November 14, 2018 18:38
-
-
Save ayufan/482a26392f8434fdaa517ae0dadfb0e2 to your computer and use it in GitHub Desktop.
Run simplest docker bionic server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm ubuntu:bionic 'apt-get update -y && apt-get install -y openssh-server && useradd -g -s /bin/bash -m ayufan && mkdir -p /run/sshd && echo ayufan:ayufan | chpasswd && exec /usr/sbin/sshd -D' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment