# 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 
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://b1tbyte.gitbook.io/cheatsheets/oswe/free-labs/atutor-2.2.1-docker-container.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
