Add service2 example

This commit is contained in:
Andrea Fazzi 2023-02-16 15:24:27 +01:00
parent af07707f3f
commit 839ef91f05
3 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
FROM ubuntu
RUN apt update && apt install openssh-server sudo -y
RUN apt update && apt install openssh-server sudo -y
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test
RUN echo 'test:test' | chpasswd
RUN service ssh start

3
assets/service2/bar.md Normal file
View file

@ -0,0 +1,3 @@
# Intestazione 1
Paragrafo.

View file

@ -6,4 +6,4 @@ services:
ports:
- "2222:22"