# Docker stops working after update and can't reinstall

**URL:** https://dietpi.com/forum/t/docker-stops-working-after-update-and-cant-reinstall/16215
**Category:** Troubleshooting
**Created:** [13 March 2023 15:45 UTC](https://dietpi.com/forum/t/docker-stops-working-after-update-and-cant-reinstall/16215 "2023-03-13T15:45:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pihunt](https://dietpi.com/forum/user_avatar/dietpi.com/pihunt/32/2459_2.png) [@pihunt](https://dietpi.com/forum/u/pihunt)
#### Post date: [13 March 2023 15:45 UTC](https://dietpi.com/forum/t/docker-stops-working-after-update-and-cant-reinstall/16215/1 "2023-03-13T15:45:52Z")

</div>

### Creating a bug report/issue

#### Required Information

- DietPi version | `cat /boot/dietpi/.version`  
G\_DIETPI\_VERSION\_CORE=8  
G\_DIETPI\_VERSION\_SUB=15  
G\_DIETPI\_VERSION\_RC=2  
G\_GITBRANCH=‘master’  
G\_GITOWNER=‘MichaIng’

- Distro version | `echo $G_DISTRO_NAME $G_RASPBIAN`  
bullseye

- Kernel version | `uname -a`  
Linux Seth 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86\_64 GNU/Linux

- SBC model | `echo $G_HW_MODEL_NAME` or (EG: RPi3)  
Virtual Machine (x86\_64)

#### Additional Information (if applicable)

- Software title | Docker

- Was the software title installed freshly or updated/migrated?  
Updated

- Can this issue be replicated on a fresh installation of DietPi?  
Probably not.

- Bug report ID | c060fcd2-b63c-45c2-bb43-6264287b278e

#### Actual behaviour

After doing a dietpi-update Docker and the containers stops working and even after re-installing Docker won’t work. During the installation I get error messages that prevent me to install Docker.

> Digest:  
> ?? sha256:9fa1ec78b4e29d83593cf9720674b72829c9cdc0db7083a962bc30e64e27f64e  
> ?? Status: Downloaded newer image for portainer/portainer-ce:latest  
> ?? 4e244f7247fd652df29f5a995897acafd73ef409cb4480ad04430d6a9fccfed0  
> ?? docker: Error response from daemon: failed to create shim task: OCI runtime  
> ?? create failed: runc create failed: unable to start container process: error  
> ?? during container init: unable to apply apparmor profile: apparmor failed to  
> ?? apply profile: write /proc/self/attr/apparmor/exec: no such file or  
> ?? directory: unknown.

I’ve never met anything like this and I don’t want to completely reinstall the entire Dietpi bc of Docker. Any help would be appriciated!

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [13 March 2023 16:06 UTC](https://dietpi.com/forum/t/docker-stops-working-after-update-and-cant-reinstall/16215/2 "2023-03-13T16:06:16Z")

</div>

usually, the search function should have reviled following

- [Ever since moving to 8.14.2 I get major docker issues - #2 by Joulinar](https://dietpi.com/forum/t/ever-since-moving-to-8-14-2-i-get-major-docker-issues/16158/2)
- [Portainer keeps restarting after update to latest docker version - #31 by Joulinar](https://dietpi.com/forum/t/portainer-keeps-restarting-after-update-to-latest-docker-version/15848/31)
- [Portainer Fails to Launch, Install, or Re-Install [SOLVED] - #2 by Joulinar](https://dietpi.com/forum/t/portainer-fails-to-launch-install-or-re-install-solved/15862/2)
- [After dietpi update docker does not start - #9 by Joulinar](https://dietpi.com/forum/t/after-dietpi-update-docker-does-not-start/15826/9)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [28 March 2023 19:49 UTC](https://dietpi.com/forum/t/docker-stops-working-after-update-and-cant-reinstall/16215/3 "2023-03-28T19:49:38Z")

</div>

Finally, Docker 23.0.2 has been released fixing the issue on x86 [Docker Engine 23.0 release notes](https://docs.docker.com/engine/release-notes/23.0/#2302)
