I saw AWS providing a docker server.
I want to know can I reach the following conditions on any AWS service
- Could I run containers with public IP for each one.(once start a new container, then I can acquire an new IP)
- How can I run the following command in the docker service
I put my project under /home/user_a/workspace
And launch the container first, and then run the script in the container
-
docker run -it --rm --name tiger -p 5901:5901 -v /home/user_a/workspace:/workspace -e USER=root user_a/ubuntu-vnc-selenium-firefox
-
docker exec -d sample1 bash -c "sudo su ; cd /workspace ; ruby main.rb"
Aucun commentaire:
Enregistrer un commentaire