January 28, 20188 yr I wrote my own docker file (just wanted to try writing my own), no issues locally, and pushed it up to the DockerHub repository. I tried using CA to download and add my own repo but all I get was: http://tower/Apps/AddContainer?xmlTemplate=default:Fatal%20error:%20escapeshellarg():%20Argument%20exceeds%20the%20allowed%20length%20of%204096%20bytes%20in%20/usr/local/emhttp/plugins/community.applications/include/helpers.php%20on%20line%20474 Any idea why? I'm on 6.3.5. This is the command I used to run my image: docker run -v "/pathtomyapponhost:/app" projectname This is what I have for my Dockerfile: FROM kennethreitz/pipenv CMD [ "python", "./main.py" ] VOLUME [ "/app" ] # i need this to access my sqlite db Edited January 28, 20188 yr by CyberMew
January 28, 20188 yr Whats the dockerhub repository? IE: I know where it's failing, but have no clue as to why without knowing the repo you're using. Edited January 28, 20188 yr by Squid
January 28, 20188 yr Author Lol can't believe I left that out. This is it: https://hub.docker.com/r/cybermew/coinchecker/
January 28, 20188 yr Lol can't believe I left that out. This is it: https://hub.docker.com/r/cybermew/coinchecker/I took a wild shot and already tried that and it worked for me. Do me a favour and sign out of dockerHub and then try it again. If it now works, we'll carry on with this via PM
January 28, 20188 yr Author I have signed out on the browser and tried adding again and got the same error
January 28, 20188 yr I have signed out on the browser and tried adding again and got the same errorHmm. Gimme a bit and I'll do a special build of CA for you. Need more information. It does appear that you're running today's update though
January 28, 20188 yr Author Yea it seems I'm already on the latest. I might need to go off soon and won't be around for the next 6-8 hours or so. Let me know what I have to do exactly and I'll let you know the results asap. Thank you for helping!
January 28, 20188 yr Once again, another small difference in how 6.3.5 and 6.4 operate. Look for an update in a couple of minutes. But, side note since you're trying to add in your own container. It's impossible for CA to download the dockerfile on a non-automated build, since there is NO reference anywhere to it on the dockerHub page for regular people. So the template generated is basically blank except for your repository. Automated builds I can either download the dockerfile or scrape it from the webpage if it can't easily be located, and then put in all of the ports, paths, etc.
January 28, 20188 yr 52 minutes ago, Squid said: Automated builds I can either download the dockerfile or scrape it from the webpage if it can't easily be located, and then put in all of the ports, paths, etc. Would you be willing to share the rough outline of what authors could put in their files to stand the best chance of an automated build working? IOW, what do you scrape and look for to guess at what should be in the unraid template?
January 28, 20188 yr Would you be willing to share the rough outline of what authors could put in their files to stand the best chance of an automated build working? IOW, what do you scrape and look for to guess at what should be in the unraid template?Creating a container etc, I have zero clue. Talk to the lsio guysGetting the docker file, I scrape the dockerHub page for urls and then see if a docker file exists at the url. If it doesn't then I download the dockerHub page and attempt to scrape the docker file from it. All a big PITA. And only automated builds have any reference to a docker file .This isn't about templates by authors but rather about CA attempting to create a template where none exists. I figure on automated builds my success rate is about 95%, excluding that it's impossible to figure out any environment variables since those aren't in the docker file at all.
January 29, 20188 yr Author 9 hours ago, Squid said: Once again, another small difference in how 6.3.5 and 6.4 operate. Look for an update in a couple of minutes. But, side note since you're trying to add in your own container. It's impossible for CA to download the dockerfile on a non-automated build, since there is NO reference anywhere to it on the dockerHub page for regular people. So the template generated is basically blank except for your repository. Automated builds I can either download the dockerfile or scrape it from the webpage if it can't easily be located, and then put in all of the ports, paths, etc. Sorry for the late reply but thanks it worked! Yea I get what you mean but unfortunately I tried but somehow the Dockerfile wasnt pushed to Dockerhub even after I've linked the accounts on both sides, I'll try to figure it out next time
Archived
This topic is now archived and is closed to further replies.