Docker Development


Ryland

Recommended Posts

I created a docker script that takes inotify-command and adds comskip to it so that I can use it for automatic commercial detection but I dont see a way to create a Docker for testing using a local file.  Is it possible to do this or do I need to create a git repo, push my file and then add it to docker?

Link to comment

Yes. Simply use the command line, and issue direct 'docker' commands. That will create and generate your own docker image.

 

For instance after you create your "Dockerfile" with what commands and items to do, you create the image by telling docker to build

docker build -t friendlyhello .

 

There is no need for a GIT Repo unless you want to possibly share the source. If you want to share the final docker image then you will need a Docker Hub account to push the finalized image.

 

For those unfamiliar with it, here's the Docker starting guide:  https://docs.docker.com/get-started/  Part 2 goes over how to build your own Docker.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.