Skip to content

[🐛 Bug ]: docker run error, "/dev/kvm": no such file or directory #526

@chikkkit

Description

@chikkkit

Operating System

Pop!_OS 22.04 LTS (based on Ubuntu 22.04)

Docker Image

budtmo/docker-android:emulator_11.0

Expected behaviour

Expect Docker to run normally

Actual behaviour

The error shows
"/dev/kvm": no such file or directory,but I have this file

Image

Logs

xxxx$ docker run -d -p 6080:6080 -e EMULATOR_DEVICE="Samsung Galaxy S10" -e WEB_VNC=true --device /dev/kvm --name android-container budtmo/docker-android:emulator_11.0
docker: Error response from daemon: Conflict. The container name "/android-container" is already in use by container "33cbb7312fc3204314e8cd0e1204e13b3ec18d3b0ef27c5f4674acf6d9df1f9f". You have to remove (or rename) that container to be able to reuse that name.

Run 'docker run --help' for more information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions