{"action":"created","issue":{"url":"https://api.github.com/repos/Dockerizing/IGUANA/issues/1","labels_url":"https://api.github.com/repos/Dockerizing/IGUANA/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Dockerizing/IGUANA/issues/1/comments","events_url":"https://api.github.com/repos/Dockerizing/IGUANA/issues/1/events","html_url":"https://github.com/Dockerizing/IGUANA/issues/1","id":112130156,"number":1,"title":"Enable configuration gets provides from the outside during 'docker run'","user":{"login":"k00ni","id":381727,"avatar_url":"https://avatars.githubusercontent.com/u/381727?v=3","gravatar_id":"","url":"https://api.github.com/users/k00ni","html_url":"https://github.com/k00ni","followers_url":"https://api.github.com/users/k00ni/followers","following_url":"https://api.github.com/users/k00ni/following{/other_user}","gists_url":"https://api.github.com/users/k00ni/gists{/gist_id}","starred_url":"https://api.github.com/users/k00ni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k00ni/subscriptions","organizations_url":"https://api.github.com/users/k00ni/orgs","repos_url":"https://api.github.com/users/k00ni/repos","events_url":"https://api.github.com/users/k00ni/events{/privacy}","received_events_url":"https://api.github.com/users/k00ni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Dockerizing/IGUANA/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"simeonackermann","id":6428217,"avatar_url":"https://avatars.githubusercontent.com/u/6428217?v=3","gravatar_id":"","url":"https://api.github.com/users/simeonackermann","html_url":"https://github.com/simeonackermann","followers_url":"https://api.github.com/users/simeonackermann/followers","following_url":"https://api.github.com/users/simeonackermann/following{/other_user}","gists_url":"https://api.github.com/users/simeonackermann/gists{/gist_id}","starred_url":"https://api.github.com/users/simeonackermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simeonackermann/subscriptions","organizations_url":"https://api.github.com/users/simeonackermann/orgs","repos_url":"https://api.github.com/users/simeonackermann/repos","events_url":"https://api.github.com/users/simeonackermann/events{/privacy}","received_events_url":"https://api.github.com/users/simeonackermann/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-10-19T12:00:26Z","updated_at":"2015-10-27T11:24:23Z","closed_at":null,"body":"### Own query file and configuration file\r\n\r\nMake it possible to call the container using something like \r\n\r\n```\r\ndocker run \\\r\n    -v $PWD/iguana-config:/iguana/config \\\r\n    -v /tmp/iguana-results:/iguana/results \\\r\n    -it iguana:latest /bin/bash\r\n```\r\n\r\nso that the user is able to override the internal configuration of IGUANA by his own configuration file and query file.\r\n\r\n### Auto execution\r\n\r\nFurthermore, it should be possible to provide your configuration to the container, run it, let it create the results and than it exits on it own. So it acts more like an executable."},"comment":{"url":"https://api.github.com/repos/Dockerizing/IGUANA/issues/comments/151460664","html_url":"https://github.com/Dockerizing/IGUANA/issues/1#issuecomment-151460664","issue_url":"https://api.github.com/repos/Dockerizing/IGUANA/issues/1","id":151460664,"user":{"login":"k00ni","id":381727,"avatar_url":"https://avatars.githubusercontent.com/u/381727?v=3","gravatar_id":"","url":"https://api.github.com/users/k00ni","html_url":"https://github.com/k00ni","followers_url":"https://api.github.com/users/k00ni/followers","following_url":"https://api.github.com/users/k00ni/following{/other_user}","gists_url":"https://api.github.com/users/k00ni/gists{/gist_id}","starred_url":"https://api.github.com/users/k00ni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k00ni/subscriptions","organizations_url":"https://api.github.com/users/k00ni/orgs","repos_url":"https://api.github.com/users/k00ni/repos","events_url":"https://api.github.com/users/k00ni/events{/privacy}","received_events_url":"https://api.github.com/users/k00ni/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T11:24:23Z","updated_at":"2015-10-27T11:24:23Z","body":"Hey Simeon,\r\n\r\n> My intention was, that users just needs to download an execute that script (which pulls and runs the iguana container), without any docker pull/run commands.\r\n\r\nThat approach is not wrong and might be also helpful, so lets keep that file and use it later on. But for now, lets concentrate on the straight docker way.\r\n\r\n> If I got it right, the workflow should be firstly something like: \r\n> `docker pull aksw/dld-present-iguana`\r\n> `docker run -v... aksw/dld-present-iguana:latest`\r\n> which mounts a results and config directory?!\r\n\r\nYes, that is basically what i wrote in my introduction post. To my knowledge, you can not override only files inside the docker container while you are using `docker run` command. But you can override folders using `-v`, so my idea was, that you override the configuration folder of IGUANA inside the docker with a folder of your own, containing only the configuration files: queries.txt and config_test.xml. \r\n\r\nThe question is, is there a way to override only the files? And how can we made it as easy as possible for the user, to provide the 2 configuration files and the results folder, when he uses `docker run`. Your objective would be to be to solve these two questions, if possible.\r\n\r\nGreetings"}}