Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running faceter in a LXC container #15

Closed
Aneith opened this issue Apr 16, 2020 · 6 comments
Closed

Running faceter in a LXC container #15

Aneith opened this issue Apr 16, 2020 · 6 comments

Comments

@Aneith
Copy link

Aneith commented Apr 16, 2020

Hello Faceter team,

I have been trying to run fog agent in a LXC container with GPU attached to it. Everything worked fine up to the "sudo docker-compose up -d" command (last one!!). I can see the GPU with nvidia-smi in the container, I can execute successfully all your instructions for ubuntu,and then when I run docker-compose up -d then I get the following error:

ubuntu@fogVM1:~/FaceterFOGClient$ sudo docker-compose up -d
**Starting faceterfogclient_clickhouse_1 ...
Starting faceterfogclient_rabbitmq_1 ...
Starting faceterfogclient_clickhouse_1 ... error
Creating faceterfogclient_recognition-mtf-webapi_1 ... error

ERROR: for faceterfogclient_recognition-mtf-webapi_1 Cannot create container for service recognition-mtf-webapi: Unknown runtime specified nvidia

ERROR: for faceterfogclient_clickhouse_1 Cannot start service clickhouse: OCI runtime create failed: container_linux.go:349: starting container process causStarting faceterfogclient_mongo_1 ... error
055a0edd0a03f3553267dc12ca83ed907558048575192a\" at \"/proc\" caused \"permission denied\""": unknown

Starting faceterfogclient_rabbitmq_1 ... error
s_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"proc\" to rootfs \"/var/lib/docker/btrfs/subvolumes/a5f69d9c42bf31ed16037aa7572f2df03195d6652175a0406954ad927067d897\" at \"/proc\" caused \"permission denied\""": unknown

ERROR: for faceterfogclient_rabbitmq_1 Cannot start service rabbitmq: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"proc\" to rootfs \"/var/lib/docker/btrfs/subvolumes/989c2a7bcff71c2a920c345aea732bca10e9c53545679517d970fe54c345ef31\" at \"/proc\" caused \"permission denied\""": unknown

ERROR: for recognition-mtf-webapi Cannot create container for service recognition-mtf-webapi: Unknown runtime specified nvidia

ERROR: for clickhouse Cannot start service clickhouse: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"proc\" to rootfs \"/var/lib/docker/btrfs/subvolumes/f6503a6a5e8d1b7b52055a0edd0a03f3553267dc12ca83ed907558048575192a\" at \"/proc\" caused \"permission denied\""": unknown

ERROR: for mongo Cannot start service mongo: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"proc\" to rootfs \"/var/lib/docker/btrfs/subvolumes/a5f69d9c42bf31ed16037aa7572f2df03195d6652175a0406954ad927067d897\" at \"/proc\" caused \"permission denied\""": unknown

ERROR: for rabbitmq Cannot start service rabbitmq: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"proc\" to rootfs \"/var/lib/docker/btrfs/subvolumes/989c2a7bcff71c2a920c345aea732bca10e9c53545679517d970fe54c345ef31\" at \"/proc\" caused \"permission denied\""": unknown
ERROR: Encountered errors while bringing up the project.**

Your support would be appreciated.

Thanks,

@faceterio
Copy link
Contributor

Hello, thank you for your question, team will try to repeat that case first then provide feedback.

@faceterio
Copy link
Contributor

for clear understanding can you specify here your local docker-compose.yml file?

@Aneith
Copy link
Author

Aneith commented Apr 17, 2020 via email

@Aneith
Copy link
Author

Aneith commented Apr 17, 2020 via email

@faceterio
Copy link
Contributor

Dear Faceter team, Please find attached the docker-compose.yml file used. Regards

Le 17 avr. 2020 à 15:14, faceterio @.***> a écrit : for clear understanding can you specify here your local docker-compose.yml file? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#15 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHXEPYUT5FQFIORSAVN4ATRNBI2LANCNFSM4MKCEPJA.

Sorry, but i cant find attached via email , can you provide file source or attach the file exactly in guthub interface?

@Aneith
Copy link
Author

Aneith commented Apr 22, 2020

Just attached the .zip file in my previous reply.

@Aneith Aneith closed this as completed Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants