-
Notifications
You must be signed in to change notification settings - Fork 27
set up docker os
Olga Naumenko edited this page May 17, 2023
·
3 revisions
Install Docker using the instructions for your OS:
Run a Docker container with Ubuntu 18.04:
- Create a container:
docker container create -i -t -p 5522:22 -p 5521:2121 --name utbot ubuntu:18.04
docker start utbot
- Navigate to a container:
docker exec -it utbot /bin/bash
- Create a user:
useradd -m utbot
usermod -aG sudo utbot
- Set the user password:
passwd utbot
- Install the OpenSSH server:
apt update && apt install openssh-server sudo -y
- Set up an SSH connection:
service ssh start