Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### Start Ubuntu Xenial container
- `$ docker container run -d -it --name my_ubuntu ubuntu:xenial`
- #### Inside Ubuntu container, update and install CURL
- **Note:** make sure the DNS works fine in the container.
- <pre>
- root@9b7xxx:/# apt update
- root@9b7xxx:/# apt install curl
- </pre>
- You can use 'Ctrl+pq' to exit the container without stopping it cause the CMD is running '/bin/bash' by default.
- #### Reattach to the container
- `$ docker container attach my_ubuntu`
Add Comment
Please, Sign In to add comment