Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerhub images assume user id 1000 #16

Open
dhood opened this issue Feb 14, 2018 · 1 comment
Open

dockerhub images assume user id 1000 #16

dhood opened this issue Feb 14, 2018 · 1 comment

Comments

@dhood
Copy link
Contributor

dhood commented Feb 14, 2018

The dockerfiles have been written to take user id into account, but now that we ship docker images instead of have users build them themselves, the user id needs to be taken into account at run time.

@dhood
Copy link
Contributor Author

dhood commented Feb 14, 2018

The error on a machine with user id 1002 is:

dhood@osrf-Razer-Blade:~/ariac_ws/ariac-docker$ roslaunch osrf_gear gear_playback.launch state_log_path:=`pwd`/logs/example_team/sample/gazebo/state.log
... logging to /home/dhood/.ros/log/f30bc668-1122-11e8-91d4-70188b829a0f/roslaunch-osrf-Razer-Blade-15429.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://osrf-Razer-Blade:50319/

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.21

NODES
  /
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)

auto-starting new master
process[master]: started with pid [15441]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to f30bc668-1122-11e8-91d4-70188b829a0f
process[rosout-1]: started with pid [15454]
started core service [/rosout]
process[gazebo-2]: started with pid [15457]
process[gazebo_gui-3]: started with pid [15469]
Gazebo multi-robot simulator, version 7.7.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Err] [LogPlay.cc:119] Unable to load file[/home/dhood/ariac_ws/ariac-docker/logs/example_team/sample/gazebo/state.log]. Check the Gazebo server log file for more information.
[Err] [LogPlay.cc:127] EXCEPTION: Error parsing log file

[Err] [LogPlay.cc:127] EXCEPTION: Error parsing log file

^C[gazebo_gui-3] killing on exit
[gazebo-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
dhood@osrf-Razer-Blade:~/ariac_ws/ariac-docker$ id -u $USER
1002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant