Never tried to run a docker container inside gem5.
Have you tried to strace the daemon start?

Giacomo

From: gem5-users <[email protected]> On Behalf Of niranjan 
soundararajan
Sent: 07 April 2020 14:11
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] Starting docker inside the gem5 simulated system.

Hey folks

Any updates on this. I am working on a similar setup and see that docker is 
failing with same issue

Thanks
Niranjan

On Mon, 6 Apr 2020 at 2:26 PM, swamy saranam 
<[email protected]<mailto:[email protected]>> wrote:
I need start the docker application inside the Gem5 simulated system.

Steps followed:
1. Installed docker inside an ubuntu-18.04 disk image using QEMU.
2. Pulled some images inside the docker and created the containers and executed 
the application.
3. I started the gem5 full system simulation using this disk image. After the 
login, when I try to start the docker service using "systemctl start docker", 
the service is not starting.

The result of "systemctl status docker" is pasted below:

Warning: The unit file, source configuration file or drop-ins of docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e
  Drop-In: /etc/systemd/system/docker.service.d
           └─http-proxy.conf, https-proxy.conf
   Active: failed (Result: exit-code) since Sun 2018-01-28 10:58:35 EST; 22min a
     Docs: https://docs.docker.com
  Process: 862 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/
 Main PID: 862 (code=exited, status=1/FAILURE)

Jan 28 10:58:33 ubuntu systemd[1]: docker.service: Main process exited, code=exi
Jan 28 10:58:33 ubuntu systemd[1]: docker.service: Failed with result 'exit-code
Jan 28 10:58:33 ubuntu systemd[1]: Failed to start Docker Application Container
Jan 28 10:58:35 ubuntu systemd[1]: docker.service: Service hold-off time over, s
Jan 28 10:58:35 ubuntu systemd[1]: docker.service: Scheduled restart job, restar
Jan 28 10:58:35 ubuntu systemd[1]: Stopped Docker Application Container Engine.
Jan 28 10:58:35 ubuntu systemd[1]: docker.service: Start request repeated too qu
Jan 28 10:58:35 ubuntu systemd[1]: docker.service: Failed with result 'exit-code
Jan 28 10:58:35 ubuntu systemd[1]: Failed to start Docker Application Container

Can anyone help me fix this issue.

Thanks in advance!

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to