Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
1217 Discussions

Problems to run a container on Container Playground

Diego-Davila
Beginner
357 Views

Hi guys. I'm trying to run a public container imported from Docker Hub on Container Playground: laffin/cloudproxy:latest.

I want to run this container to deploy cloud instances that will work as proxies and get IP addresses in order to scrape websites without restriction. But after launching the container I get these error in the logs:

 

2022-03-10 17:48:46.191 | INFO | cloudproxy.providers.manager:init_schedule:37 - DigitalOcean not enabled
2022-03-10 17:48:46.218 | INFO | cloudproxy.providers.manager:init_schedule:49 - Hetzner not enabled
2022-03-10 17:48:46.218 | INFO | cloudproxy.providers.manager:init_schedule:45 - GCP not enabled
self._file = open(path, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/loguru/_logger.py", line 762, in add
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/app/cloudproxy.log'
File "/usr/local/lib/python3.8/site-packages/loguru/_file_sink.py", line 187, in _initialize_file
self._initialize_file()
wrapped_sink = FileSink(path, **kwargs)
logger.add("cloudproxy.log", rotation="20 MB")
File "/usr/local/lib/python3.8/site-packages/loguru/_file_sink.py", line 167, in __init__
File "./cloudproxy/main.py", line 36, in <module>
2022-03-10 17:48:58.927 | INFO | cloudproxy.providers.manager:init_schedule:37 - DigitalOcean not enabled
2022-03-10 17:48:58.957 | INFO | cloudproxy.providers.manager:init_schedule:45 - GCP not enabled
2022-03-10 17:48:58.957 | INFO | cloudproxy.providers.manager:init_schedule:49 - Hetzner not enabled
self._initialize_file()
wrapped_sink = FileSink(path, **kwargs)
File "/usr/local/lib/python3.8/site-packages/loguru/_file_sink.py", line 187, in _initialize_file
File "/usr/local/lib/python3.8/site-packages/loguru/_file_sink.py", line 167, in __init__
File "/usr/local/lib/python3.8/site-packages/loguru/_logger.py", line 762, in add
logger.add("cloudproxy.log", rotation="20 MB")
File "./cloudproxy/main.py", line 36, in <module>
PermissionError: [Errno 13] Permission denied: '/app/cloudproxy.log'
self._file = open(path, **self._kwargs)
Traceback (most recent call last):
2022-03-10 17:49:25.891 | INFO | cloudproxy.providers.manager:init_schedule:37 - DigitalOcean not enabled
2022-03-10 17:49:25.920 | INFO | cloudproxy.providers.manager:init_schedule:49 - Hetzner not enabled
2022-03-10 17:49:25.920 | INFO | cloudproxy.providers.manager:init_schedule:45 - GCP not enabled
File "/usr/local/lib/python3.8/site-packages/loguru/_file_sink.py", line 187, in _initialize_file
wrapped_sink = FileSink(path, **kwargs)
File "/usr/local/lib/python3.8/site-packages/loguru/_logger.py", line 762, in add
logger.add("cloudproxy.log", rotation="20 MB")
Traceback (most recent call last):
PermissionError: [Errno 13] Permission denied: '/app/cloudproxy.log'
self._file = open(path, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/loguru/_file_sink.py", line 167, in __init__
File "./cloudproxy/main.py", line 36, in <module>
self._initialize_file()

 

Looks like there are some permissions denials but I don't get it well. I added port configuration (8000) and some environment variables. What could be wrong? 

 

0 Kudos
1 Solution
ChrisB_Intel
Moderator
285 Views

Not at this moment. There are no permissions, you can only run the provided samples as they are right now. However, as I mentioned, that should be changing very soon.


Thanks

Chris



View solution in original post

3 Replies
ChrisB_Intel
Moderator
347 Views

Container playground has not been opened up to allow you to bring your own code in. That is a feature that is coming, hopefully very soon.


Thanks

Chris



Diego-Davila
Beginner
289 Views

Hi @ChrisB_Intel , thanks for your answer. Thought I could import public containers from Docker Hub. Isn't it true then? Where can I read more about permissions? I couldn't find them in the documentation.

ChrisB_Intel
Moderator
286 Views

Not at this moment. There are no permissions, you can only run the provided samples as they are right now. However, as I mentioned, that should be changing very soon.


Thanks

Chris



Reply