# docker-file **Repository Path**: jiejietop/docker-file ## Basic Information - **Project Name**: docker-file - **Description**: Ubuntu18-ROS的dockerfile - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-24 - **Last Updated**: 2022-07-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ubuntu18.04 - ROS 的 Dockerfile ## build ```bash docker build \ --build-arg user=【用户名】 \ --build-arg password=【密码】 \ -t 【容器名称】 . ``` # run docker run -it --privileged -v [host path]:[work path] -p [docker port-port]:[docker port-port] -d rs:u18-ros ```bash docker run -it \ --privileged \ --net=host \ -v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:ro \ -v /home/jie/github/wturs/:/home/ht/github \ -p 52097:52097 \ -d rs:u18-ros ```