---
# System prepended metadata

title: '**Primera Setmana**'

---

# **Primera Setmana**
# 
En la primera setmana he descargat el docker en vmware i he creat el meu container 

### **Comandes per descargar docker**
### 
1. sudo apt-get purge docker lxc-docker docker-engine docker.io
2. sudo apt-get update
3. sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
4. curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add 
5. sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian buster stable"
6. sudo apt-get update
7. sudo apt-get install docker-ce docker-ce-cli containerd.io

9. sudo systemctl status docker : **Aquesta comanda és per veure l'estat del docker**
 
![](https://i.imgur.com/FWMKwzV.png)

11. docker -v :**Aquesta comanda és per veure la versió del docker**

![](https://i.imgur.com/MGYQhgq.png)


### **Com Crear un Container**
### 
1. docker volume create manharanserver

3. docker run -p 443:443 -p 25:25 -p 110:110 -p 143:143 -p 465:465 -p 587:587 -p 993:993 -p 995:995 -p 4190:4190  -e TZ=Europe/Andorra -v manharan:/data --name "manharanserver" -h "manharan.io" -t analogic/poste.io

![](https://i.imgur.com/NVms8mR.png)






