Now I want to get productive with ArangoDB, so I want to import some data. Now change the port to something I can remember…: But that’s not supported in OS X, so you might not want to make use of that option and stick with the default path (or mount a folder in the virtual machine from command line). Sublime Text) to edit my Foxx apps right away.Ĭaution: There’s an option to change the database directory to a local folder too. That allows me to use my favorite editor (e.g. In the settings of my container I can specify a local folder on my Mac to store my Foxx based JavaScript extensions. Voilà, ArangoDB is available (1) – you can use the web-interface from the stated ACCESS URL (2), and access the arangosh console with one click on the EXEC (3) icon and then typing arangosh in the console. Just one click on “create” and your ArangoDB container is up and running! Searching for ArangoDB you get the official Docker Hub Image as the first result – and by default, the latest stable release. After installation I chose the fancy UI stuff and opened Kitematic. This command will create a new container using the badlandsmodel/badlands image. docker run -it -p 8888:8888 -v 'PWD':/live/share badlandsmodel/badlands Navigate to localhost:8888 to see the notebooks. Nice.ĭuring the installation process you can choose to install the Docker Machine and Kitematic (current 0.8). Once it is installed you will only have to run the following command to start the code. In my case, the installation process detects an earlier Boot2Docker Installation and migrates it to a new Docker Machine VM. Here’s how to start with ArangoDB and Docker Machine:įirst you need to install Docker Machine as described here. I struggled with Boot2Docker several times and recently tried Docker Machine – with the Web UI Kitematic – currently in beta. To test a feature in a special version I use docker images that need a virtual machine on MacOS. Got lost in the shuffle.When I work with ArangoDB on my Mac, I usually install ArangoDB via homebrew and do tests on the latest new developments based on the devel-branch, compiling ArangoDB right from source. That lead me to here and to 1202 and now to 722 before noticing that it all Kitematic on par with Tutum for this feature - and decided to investigate. Simply downloaded Kitematic, saw the feature missing - that would put My intention was not to take away a project you enjoy. Yea, and that PR has been closed in favor of 1202 also, but theįunctionality talked about in both this one and 722 are not don't let me stop you from completing We can add it to the PR 1202 so you don't miss anything but I need to know The container settings for new configurations? On the dockerfile? Previous the first time you create the container or in Should it work? A way to add or remove more volumes than the ones specified I'm new to Docker, so I may be asking for too much, but I thought it worth documenting.Ĭould you explain or even drafted the feature that you are missing? How I should be able to do this whether or not the creator of the Creator specifically enabled it. I want to be able to change the Volume's mapping of the Docker Folder - > Mac Folder, as I can with hello-world-nginx.For specific containers, like one devoted to WordPress, I'd love it if Kitematic provided an easy way to go straight to that software's directory root.When I load a new container, it would ideally have a volume set up with access to that container's filesystem.Sadly, I don't think there's much I can contribute to move this forward, outside of explaining my expectations as a user: I'm excited about Kitematic, as I think I could use it to ease how I work on side projects (PHP, Python, and eventually Node). I've banged my head a few times now trying to set up various Wordpress containers, but couldn't find where the files could be edited. I've been excited to try Docker via Kitematic, but not being able to define a volume is a hard blocker for me.
0 Comments
Leave a Reply. |