# Install Docker on a ZCU104

**URL:** <https://discuss.pynq.io/t/install-docker-on-a-zcu104/2391>\
**Category:** Support\
**Created:** [March 5, 2021, 2:41pm UTC](https://discuss.pynq.io/t/install-docker-on-a-zcu104/2391 "2021-03-05T14:41:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gwyc](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@Gwyc](https://discuss.pynq.io/u/Gwyc)\
**Post date:** [March 5, 2021, 2:41pm UTC](https://discuss.pynq.io/t/install-docker-on-a-zcu104/2391/1 "2021-03-05T14:41:30Z")

</div>

Hi everyone.

I"m trying to install Docker on a ZCU104. I followed [this](https://docs.docker.com/engine/install/debian/) instructions. However, I can’t install it due to the absence of packages.

```
root@pynq:/home/xilinx/jupyter_notebooks# apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apt-transport-https
E: Unable to locate package ca-certificates
E: Unable to locate package curl
E: Unable to locate package gnupg

```

[This site](https://www.linuxfordevices.com/tutorials/ubuntu/fix-unable-to-locate-package) suggests to edit /etc/apt/sources.list. This file is empty. I tried to follow this solution but adding debian sources to the file creates more errors. What am I supposed to add to sources.list?

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [March 5, 2021, 4:02pm UTC](https://discuss.pynq.io/t/install-docker-on-a-zcu104/2391/2 "2021-03-05T16:02:19Z")

</div>

Hi @Gwyc,

Which PYNQ image are you using?

The steps to install docker on an Ultra96 are here, and should be the same for ZCU104

> [@Docker, Xilinx Platforms & PYNQ](https://discuss.pynq.io/t/docker-xilinx-platforms-pynq/1962):
>
> [docker] [PYNQ v2.6](https://github.com/Xilinx/PYNQ/releases/tag/v2.6.0) released last week and one feature we added was docker support. This means docker is ready to run on any PYNQ enabled board (Zynq-7000, ZU+ and RFSoC). Why? Well, containers are a great way to deliver complete applications and their dependencies on top of existing platforms. Perhaps you’ve used containers on your x86 machines – one notable example is the [Xilinx Vitis-AI docker](https://hub.docker.com/r/xilinx/vitis-ai) that includes all the tools necessary for training ML models targeting Xilinx’s DPU. Within the …

Note that docker support was only added on [PYNQ v2.6](https://github.com/Xilinx/PYNQ/releases/tag/v2.6.0)

Mario

---

<div class="post-metadata">

**Author:** ![Gwyc](https://avatars.discourse-cdn.com/v4/letter/g/f6c823/32.png) [@Gwyc](https://discuss.pynq.io/u/Gwyc)\
**Post date:** [March 22, 2021, 10:40am UTC](https://discuss.pynq.io/t/install-docker-on-a-zcu104/2391/3 "2021-03-22T10:40:40Z")

</div>

I started on [DPU-PYNQ/host](https://github.com/Xilinx/DPU-PYNQ/tree/master/host). It led me to [Vitis AI](https://github.com/Xilinx/Vitis-AI/tree/v1.3#Getting-Started) which asked me to install Docker. Back to DPU-PYNQ, I tried to run `conda activate vitis-ai-tensorflow` and got `conda: not found`.

I will restart from scratch and hope that everything goes well.

According to what I read in DPU-PYNQ, my understanding is that I have to install Docker on my host machine, install DPU-PYNQ in a container and then install Vitis AI model zoo on top of it in order to be able to recompile new models.

Why would I install Docker on the ZCU104? I thought that the goal was to be able to compile images on a computer and then transfer them to the card.
