> For the complete documentation index, see [llms.txt](https://b1tbyte.gitbook.io/cheatsheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://b1tbyte.gitbook.io/cheatsheets/oswe/free-labs/atutor-2.2.1-docker-container.md).

# Atutor 2.2.1 - Docker Container

1 - Create a container from the image (`b1tbyte/oswe:atutor`) , and give it a name (`atutorTest`) & starting `/bin/bash`&#x20;

```python
docker run -it -p 127.0.0.1:80:80 --name atutorTest b1tbyte/oswe:atutor bash
```

* Port 80 is exposed in your host, so don't use it in production env.

2 - Then, you need to run `apache2` & `mysql`

```python
service apache2 start
```

```python
service mysql start
```

3 - Finally, you can access the application at the following path

```python
http://127.0.0.1/atutor/login.php
```

Credentials :

atutor login creds :

```python
user : teacher
pass : teacher
```

all other creds (mysql & others) are

```python
user : root
pass : root 
```
