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 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 useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 test
RUN echo 'test:test' | chpasswd RUN echo 'test:test' | chpasswd
RUN service ssh start 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: ports:
- "2222:22" - "2222:22"