Solved: Error response from daemon: Container is not running

When we created the docker container using command,

$ sudo docker create ubuntu:18.04

and then tried to access the shell as,

$ sudo docker exec -i -t 49db5136dac8 bash

we got an error as,

Error response from daemon: Container 4285cb789189ea8feed154af78a4d736c828b0d149c535fc73b24a44411e8dca is not running

This error is because, when we create the docker container, this container is not running by default, and is in exited state as can be seen below,

$ sudo docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED              STATUS                     PORTS               NAMES
49db5136dac8        ubuntu:18.04        "/bin/bash"         2 minutes ago        Exited (0) 2 minutes ago                       dazzling_hawking

Solution :

the solution to this problem is we need to run the container in background using IMAGE ID as,

$ sudo docker run -it  -d "ubuntu:18.04"
Fortnite - Textures Not Loading & G... x
Fortnite - Textures Not Loading & Game Not Rendering FIX

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development, Debugging and Performance Tools Development and Build Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web Design and Development Website Hosting Wordpress Yocto Embedded Linux